summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2020-07-14 11:13:03 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2020-07-14 11:13:03 +0200
commit0425cb66ef9166de7b5129c1b3124fd14bfe2123 (patch)
tree2014145ca45316c873d4afed28583cb57fe4faef /src/main.c
parent038d247e147eec5a3b59eb8272979a686fe5c646 (diff)
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;