diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-10 00:53:01 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-10 00:53:01 +0000 |
| commit | 32d4fff89f42a3712c8db794264c38a0c5b941e2 (patch) | |
| tree | f3f311dba609e5ada16bbc37294b1db4fbcebbd5 /libpcsxcore | |
| parent | 736ea295294427e5f07f79e1bc31871d34edbe69 (diff) | |
| download | pcsxr-32d4fff89f42a3712c8db794264c38a0c5b941e2.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47725 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdrom.h | 2 | ||||
| -rw-r--r-- | libpcsxcore/mdec.c | 3 | ||||
| -rw-r--r-- | libpcsxcore/psxcounters.c | 3 | ||||
| -rw-r--r-- | libpcsxcore/psxhw.c | 4 | ||||
| -rw-r--r-- | libpcsxcore/sio.c | 5 |
5 files changed, 1 insertions, 16 deletions
diff --git a/libpcsxcore/cdrom.h b/libpcsxcore/cdrom.h index 3116cde8..690ed495 100644 --- a/libpcsxcore/cdrom.h +++ b/libpcsxcore/cdrom.h @@ -87,8 +87,6 @@ typedef struct { unsigned long eCycle; int Seeked; - - char Unused[4083]; } cdrStruct; extern cdrStruct cdr; diff --git a/libpcsxcore/mdec.c b/libpcsxcore/mdec.c index 4e8c409a..cd3f1031 100644 --- a/libpcsxcore/mdec.c +++ b/libpcsxcore/mdec.c @@ -557,12 +557,9 @@ void mdec1Interrupt() { } int mdecFreeze(gzFile f, int Mode) { - char Unused[4096]; - gzfreeze(&mdec, sizeof(mdec)); gzfreezel(iq_y); gzfreezel(iq_uv); - gzfreezel(Unused); return 0; } diff --git a/libpcsxcore/psxcounters.c b/libpcsxcore/psxcounters.c index 12b84117..d2bb5252 100644 --- a/libpcsxcore/psxcounters.c +++ b/libpcsxcore/psxcounters.c @@ -465,12 +465,9 @@ void psxRcntInit() s32 psxRcntFreeze( gzFile f, s32 Mode ) { - s8 unused[ 4096 - (sizeof(rcnts) + sizeof(hSyncCount) + sizeof(spuSyncCount)) ]; - gzfreezel( rcnts ); gzfreeze( &hSyncCount, sizeof(hSyncCount) ); gzfreeze( &spuSyncCount, sizeof(spuSyncCount) ); - gzfreezel( unused ); return 0; } diff --git a/libpcsxcore/psxhw.c b/libpcsxcore/psxhw.c index 52edf4d6..b3f074f8 100644 --- a/libpcsxcore/psxhw.c +++ b/libpcsxcore/psxhw.c @@ -711,9 +711,5 @@ void psxHwWrite32(u32 add, u32 value) { } int psxHwFreeze(gzFile f, int Mode) { - char Unused[4096]; - - gzfreezel(Unused); - return 0; } diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index 8244ee61..3294dfb9 100644 --- a/libpcsxcore/sio.c +++ b/libpcsxcore/sio.c @@ -672,7 +672,7 @@ void GetMcdBlockInfo(int mcd, int block, McdBlock *Info) { } for (i = 0; i < Info->IconCount; i++) { - short *icon = &Info->Icon[i*16*16]; + short *icon = &Info->Icon[i * 16 * 16]; ptr = data + block * 8192 + 128 + 128 * i; // icon data @@ -695,8 +695,6 @@ void GetMcdBlockInfo(int mcd, int block, McdBlock *Info) { } int sioFreeze(gzFile f, int Mode) { - char Unused[4096]; - gzfreezel(buf); gzfreezel(&StatReg); gzfreezel(&ModeReg); @@ -709,7 +707,6 @@ int sioFreeze(gzFile f, int Mode) { gzfreezel(&adrH); gzfreezel(&adrL); gzfreezel(&padst); - gzfreezel(Unused); return 0; } |
