From 6c9a5a24207e956fb551f45250bfd39aa07f2201 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 25 Oct 2014 18:50:33 -0700 Subject: [PATCH] Fix savestate size on Windows --- src/gba/gba-serialize.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gba/gba-serialize.h b/src/gba/gba-serialize.h index 57ce517cc..2ba3085df 100644 --- a/src/gba/gba-serialize.h +++ b/src/gba/gba-serialize.h @@ -242,10 +242,10 @@ struct GBASerializedState { 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;