Fix BIND_PRESSED to silence warnings with PS3 compiler

This commit is contained in:
twinaphex 2014-10-03 16:49:58 +02:00
parent cfaa59e67a
commit 32446917d5

View File

@ -121,6 +121,6 @@ typedef struct
#define BIT_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31)))
#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