summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-15 00:40:47 -0400
committerGitHub <noreply@github.com>2020-07-15 00:40:47 -0400
commite129d04b931a4fc0e6584b4340dc57b9162264d5 (patch)
treea6ae1eb111f652b1cfffdd9a4bccba4a65a0de35 /src/main.c
parentebb6c4ee661758874972956a94eb06d38eaa18a8 (diff)
parent3c356a1d7af543d84c06f28f670b6ddc4b27fdd6 (diff)
Merge branch 'master' into doc-overworld
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 5249d11fa..454fefc5c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -280,7 +280,7 @@ static void ReadKeys(void)
gMain.heldKeys = gMain.heldKeysRaw;
// Remap L to A if the L=A option is enabled.
- if (gSaveBlock2Ptr->optionsButtonMode == 2)
+ if (gSaveBlock2Ptr->optionsButtonMode == OPTIONS_BUTTON_MODE_L_EQUALS_A)
{
if (gMain.newKeys & L_BUTTON)
gMain.newKeys |= A_BUTTON;