diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-09 18:46:41 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-09 18:46:41 +0000 |
| commit | 70ab51af6699f7b967645b19772dfecab4ef959a (patch) | |
| tree | 1feda8f9344185d52ac5dec225018b36f57f018c /libpcsxcore | |
| parent | 626eb657588e3ef91e522d644811ca4becdc1c23 (diff) | |
| download | pcsxr-70ab51af6699f7b967645b19772dfecab4ef959a.tar.gz | |
psxRcntFreeze() was fixed.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47708 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/psxcounters.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index ebfb0612..12b84117 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -465,9 +465,11 @@ void psxRcntInit() s32 psxRcntFreeze( gzFile f, s32 Mode ) { - s8 unused[ 4096 - sizeof(rcnts) ]; + s8 unused[ 4096 - (sizeof(rcnts) + sizeof(hSyncCount) + sizeof(spuSyncCount)) ]; gzfreezel( rcnts ); + gzfreeze( &hSyncCount, sizeof(hSyncCount) ); + gzfreeze( &spuSyncCount, sizeof(spuSyncCount) ); gzfreezel( unused ); return 0; |
