summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authoraaaaaa123456789 <aaaaaa123456789@acidch.at>2020-11-02 22:02:39 -0300
committeraaaaaa123456789 <aaaaaa123456789@acidch.at>2020-11-02 22:02:39 -0300
commitbacc831aa91d059936bd7c852bf0a0fb44d8f27a (patch)
tree660080b3d0dd091d8827c679f489ffbfb337d3c3 /src/main.c
parent6545745e5997f48e0c853b30b144a10244e7ba20 (diff)
Re-apply joypad macros (minus merge conflicts)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 454fefc5c..ab0c23284 100644
--- a/src/main.c
+++ b/src/main.c
@@ -282,10 +282,10 @@ static void ReadKeys(void)
// Remap L to A if the L=A option is enabled.
if (gSaveBlock2Ptr->optionsButtonMode == OPTIONS_BUTTON_MODE_L_EQUALS_A)
{
- if (gMain.newKeys & L_BUTTON)
+ if (JOY_NEW(L_BUTTON))
gMain.newKeys |= A_BUTTON;
- if (gMain.heldKeys & L_BUTTON)
+ if (JOY_HELD(L_BUTTON))
gMain.heldKeys |= A_BUTTON;
}