mirror of
https://github.com/libretro/RetroArch
synced 2025-04-23 11:43:20 +00:00
Fix BIND_PRESSED to silence warnings with PS3 compiler
This commit is contained in:
parent
cfaa59e67a
commit
32446917d5
@ -121,6 +121,6 @@ typedef struct
|
|||||||
#define BIT_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31)))
|
#define BIT_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31)))
|
||||||
#define BIT_CLEAR_ALL(a) memset(&(a), 0, sizeof(a));
|
#define BIT_CLEAR_ALL(a) memset(&(a), 0, sizeof(a));
|
||||||
|
|
||||||
#define BIND_PRESSED(a, bit) ((a) & (1ULL << ((bit))))
|
#define BIND_PRESSED(a, bit) (((a) & (1ULL << ((bit)))) == 1)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user