summaryrefslogtreecommitdiff
path: root/gui/Plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/Plugin.c')
-rw-r--r--gui/Plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/Plugin.c b/gui/Plugin.c
index ed687d03..70313d5f 100644
--- a/gui/Plugin.c
+++ b/gui/Plugin.c
@@ -60,6 +60,8 @@ void gpuShowPic() {
f = gzopen(state_filename, "rb");
if (f != NULL) {
gzseek(f, 32, SEEK_SET); // skip header
+ gzseek(f, sizeof(u32), SEEK_CUR);
+ gzseek(f, sizeof(boolean), SEEK_CUR);
gzread(f, pMem, 128*96*3);
gzclose(f);
} else {