diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-11-14 16:18:18 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-11-14 16:18:18 +0000 |
| commit | 3cdb4c6b25237f0b78b681a489649c005e5b0413 (patch) | |
| tree | 8857496d758271120f2b86fa1df1490676a13379 /win32/gui/plugin.c | |
| parent | c90cd9198d0b9ce1166dece70007751aed8da728 (diff) | |
| download | pcsxr-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.c | 2 |
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 {
|
