Remove unnecessary scope for TEST_BUTTON
This commit is contained in:
parent
56057d3c32
commit
33ea2a1061
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@
|
|||
#define T2_READ_PTR(ptr) (void*) T2_READ_32(ptr)
|
||||
|
||||
// Macros for checking the joypad
|
||||
#define TEST_BUTTON(field, button) ({(field) & (button);})
|
||||
#define TEST_BUTTON(field, button) ((field) & (button))
|
||||
#define JOY_NEW(button) TEST_BUTTON(gMain.newKeys, button)
|
||||
#define JOY_HELD(button) TEST_BUTTON(gMain.heldKeys, button)
|
||||
#define JOY_HELD_RAW(button) TEST_BUTTON(gMain.heldKeysRaw, button)
|
||||
|
|
Loading…
Reference in a new issue