all repos — mgba @ a5b9faa88c88d81a961d516fe3bef21cee99b3a7

mGBA Game Boy Advance Emulator

Fix savestate size on Windows
Jeffrey Pfau jeffrey@endrift.com
Sat, 25 Oct 2014 18:50:33 -0700
commit

a5b9faa88c88d81a961d516fe3bef21cee99b3a7

parent

f49ceb7e3b989c377008f25999f75a07962ab0c5

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/gba/gba-serialize.hsrc/gba/gba-serialize.h

@@ -242,10 +242,10 @@ uint16_t pinState;

uint16_t pinDirection; struct GBARTC rtc; uint8_t devices; - uint16_t gyroSample; - uint16_t tiltSampleX; - uint16_t tiltSampleY; - enum GPIODirection readWrite : 1; + unsigned gyroSample : 16; + unsigned tiltSampleX : 16; + unsigned tiltSampleY : 16; + unsigned readWrite : 1; unsigned gyroEdge : 1; unsigned reserved : 14; } gpio;