gb.h: Silence -Wembedded-directive warning with -pedantic
gb.h:731:2: warning: embedding a directive within macro arguments has undefined behavior [-Wembedded-directive] \#define GB_REWIND_FRAMES_PER_KEY 255 ^
This commit is contained in:
parent
5cf71b406e
commit
adfc329cdf
@ -36,6 +36,8 @@
|
||||
#define GB_MODEL_PAL_BIT 0x40
|
||||
#define GB_MODEL_NO_SFC_BIT 0x80
|
||||
|
||||
#define GB_REWIND_FRAMES_PER_KEY 255
|
||||
|
||||
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||
#define GB_BIG_ENDIAN
|
||||
#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
@ -728,7 +730,6 @@ struct GB_gameboy_internal_s {
|
||||
const char *undo_label;
|
||||
|
||||
/* Rewind */
|
||||
#define GB_REWIND_FRAMES_PER_KEY 255
|
||||
size_t rewind_buffer_length;
|
||||
struct {
|
||||
uint8_t *key_state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user