From d57c480ebc1725a960dfaae9ce63f909ca7c6336 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AreaZR@users.noreply.github.com> Date: Thu, 3 Oct 2024 15:41:47 -0400 Subject: [PATCH] if -> ifdef --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 70c2c5fc46f4..775ce891cd58 100644 --- a/src/main.c +++ b/src/main.c @@ -258,7 +258,7 @@ static void ReadKeys(void) // because it compares the raw key input with the remapped held keys. // Note that newAndRepeatedKeys is never remapped either. -#if BUGFIX +#ifdef BUGFIX if (keyInput != 0 && gMain.heldKeysRaw == keyInput) #else if (keyInput != 0 && gMain.heldKeys == keyInput) @@ -287,7 +287,7 @@ static void ReadKeys(void) if (JOY_HELD(L_BUTTON)) gMain.heldKeys |= A_BUTTON; -#if BUGFIX +#ifdef BUGFIX if (JOY_REPEAT(L_BUTTON)) gMain.newAndRepeatedKeys |= A_BUTTON; #endif