Added missing uses of JOY_xx macros

This commit is contained in:
Eduardo Quezada
2022-09-22 21:43:33 -03:00
parent d79252aa7f
commit 7e112b0f0d
5 changed files with 11 additions and 11 deletions

View File

@@ -124,8 +124,8 @@ void AgbMain()
ReadKeys();
if (gSoftResetDisabled == FALSE
&& (gMain.heldKeysRaw & A_BUTTON)
&& (gMain.heldKeysRaw & B_START_SELECT) == B_START_SELECT)
&& JOY_HELD_RAW(A_BUTTON)
&& JOY_HELD_RAW(B_START_SELECT) == B_START_SELECT)
{
rfu_REQ_stopMode();
rfu_waitREQComplete();
@@ -278,7 +278,7 @@ static void ReadKeys(void)
gMain.heldKeys |= A_BUTTON;
}
if (gMain.newKeys & gMain.watchedKeysMask)
if (JOY_NEW(gMain.watchedKeysMask))
gMain.watchedKeysPressed = TRUE;
}