diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-10 02:48:37 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-10 02:48:37 +0000 |
| commit | c8690b57b1b762905661e7c0306be17e44b0998f (patch) | |
| tree | afaa716d1919cdccaba98cb4437923638b0a66a4 /libpcsxcore/psxcounters.c | |
| parent | 422812bcfa252636ccfde425c6c39a89d5bfafe7 (diff) | |
| download | pcsxr-c8690b57b1b762905661e7c0306be17e44b0998f.tar.gz | |
got rid of gzfreezel. things like gzfreezel(&int_variable) can be VERY wrong on x64!
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47733 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psxcounters.c')
| -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 d2bb5252..d26a3d93 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -465,9 +465,11 @@ void psxRcntInit() s32 psxRcntFreeze( gzFile f, s32 Mode ) { - gzfreezel( rcnts ); + gzfreeze( &rcnts, sizeof(rcnts) ); gzfreeze( &hSyncCount, sizeof(hSyncCount) ); gzfreeze( &spuSyncCount, sizeof(spuSyncCount) ); + gzfreeze( &psxNextCounter, sizeof(psxNextCounter) ); + gzfreeze( &psxNextsCounter, sizeof(psxNextsCounter) ); return 0; } |
