summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-14 19:56:46 -0400
committerGitHub <noreply@github.com>2020-07-14 19:56:46 -0400
commita583dfcc42c481caf345a683d0747264aa92421e (patch)
tree6900d1869f8254f5f9458b361c549471f9cf5d0d /src/main.c
parentc177872c9c66b1e1c06a22c2378bb2f790f663fd (diff)
parent0425cb66ef9166de7b5129c1b3124fd14bfe2123 (diff)
Merge pull request #1094 from DizzyEggg/rename
Give proper names to some functions
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;