summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-04 20:41:29 -0400
committerPokeCodec <67983839+PokeCodec@users.noreply.github.com>2020-09-04 20:41:29 -0400
commitda582d5258703eb52d8cadb4cbaef4ee7031b833 (patch)
treebf0a97ece42a2c69063e8225770da88ab045ecbe /src
parent99448002e1e393e347b19e4d519f658d13438e3f (diff)
Make JOY Macros match
Diffstat (limited to 'src')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 4e52216a4..238bd8243 100644
--- a/src/main.c
+++ b/src/main.c
@@ -135,10 +135,10 @@ void AgbMain()
ReadKeys();
if (!gSoftResetDisabled
- && (gMain.heldKeysRaw & A_BUTTON)
- && (gMain.heldKeysRaw & B_BUTTON)
- && (gMain.heldKeysRaw & START_BUTTON)
- && (gMain.heldKeysRaw & SELECT_BUTTON)) //The reset key combo A + B + START + SELECT
+ && JOY_HELD_RAW(A_BUTTON)
+ && JOY_HELD_RAW(B_BUTTON)
+ && JOY_HELD_RAW(START_BUTTON)
+ && JOY_HELD_RAW(SELECT_BUTTON)) //The reset key combo A + B + START + SELECT
{
rfu_REQ_stopMode();
rfu_waitREQComplete();