mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2025-02-09 02:48:34 +00:00
Silences bunch of warnings - thanks to simias
This commit is contained in:
parent
85ea14eb03
commit
b1687fe5b6
@ -66,7 +66,7 @@ INLINE uint32_t SF_FORCE_A64(uint64_t *) { return(0); }
|
||||
|
||||
INLINE uint32_t SF_FORCE_D(double *) { return(0); }
|
||||
|
||||
#define SFVARN(x, n) { &(x), SF_IS_BOOL(&(x)) ? 1 : sizeof(x), MDFNSTATE_RLSB | (SF_IS_BOOL(&(x)) ? MDFNSTATE_BOOL : 0), n }
|
||||
#define SFVARN(x, n) { &(x), SF_IS_BOOL(&(x)) ? 1 : (uint32_t)sizeof(x), MDFNSTATE_RLSB | (SF_IS_BOOL(&(x)) ? MDFNSTATE_BOOL : 0), n }
|
||||
#define SFVAR(x) SFVARN((x), #x)
|
||||
|
||||
#define SFARRAYN(x, l, n) { (x), (uint32_t)(l), 0 | SF_FORCE_A8(x), n }
|
||||
|
Loading…
x
Reference in New Issue
Block a user