GBA: Fix non-PNG savestate loading
Jeffrey Pfau jeffrey@endrift.com
Tue, 12 Jan 2016 21:35:13 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/serialize.c
→
src/gba/serialize.c
@@ -461,6 +461,7 @@ if (isPNG(vf)) {
return _loadPNGState(vf, extdata); } #endif + vf->seek(vf, 0, SEEK_SET); if (vf->size(vf) < (ssize_t) sizeof(struct GBASerializedState)) { return false; }