all repos — mgba @ 6c9a5a24207e956fb551f45250bfd39aa07f2201

mGBA Game Boy Advance Emulator

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

6c9a5a24207e956fb551f45250bfd39aa07f2201

parent

b33e75daec0727bfa9a7b97aab7b50723d53eaa4

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;