summaryrefslogtreecommitdiff
path: root/win32/gui/plugin.c
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-14 16:18:18 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-11-14 16:18:18 +0000
commit3cdb4c6b25237f0b78b681a489649c005e5b0413 (patch)
tree8857496d758271120f2b86fa1df1490676a13379 /win32/gui/plugin.c
parentc90cd9198d0b9ce1166dece70007751aed8da728 (diff)
downloadpcsxr-3cdb4c6b25237f0b78b681a489649c005e5b0413.tar.gz
Savestate pic offset was fixed.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59592 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'win32/gui/plugin.c')
-rw-r--r--win32/gui/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/gui/plugin.c b/win32/gui/plugin.c
index 88c51bfc..0709ee88 100644
--- a/win32/gui/plugin.c
+++ b/win32/gui/plugin.c
@@ -51,6 +51,8 @@ void gpuShowPic() {
f = gzopen(Text, "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 {