summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-01-23 09:34:25 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-01-23 09:34:25 +0000
commit90c177779d8c8d02a3f8701f8149a3f7d9778a9f (patch)
treee981d58cd437fa852ec6a87a2cd2d89964ace1ad /libpcsxcore
parent874cded1b9315cc66d19271b18f8829fd1709f31 (diff)
downloadpcsxr-90c177779d8c8d02a3f8701f8149a3f7d9778a9f.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@40653 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/ppf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c
index e77eb107..7595a6a1 100644
--- a/libpcsxcore/ppf.c
+++ b/libpcsxcore/ppf.c
@@ -169,14 +169,14 @@ static void AddToPPF(s32 ladr, s32 pos, s32 anz, s8 *ppfmem) {
}
void BuildPPFCache() {
- FILE *ppffile;
- char buffer[12];
- char method, undo = 0, blockcheck = 0;
- int dizlen, dizyn;
- char ppfmem[512], szPPF[MAXPATHLEN];
- int count, seekpos, pos;
- u32 anz; // avoids stupid overflows
- s32 ladr, off, anx;
+ FILE *ppffile;
+ char buffer[12];
+ char method, undo = 0, blockcheck = 0;
+ int dizlen, dizyn;
+ unsigned char ppfmem[512], szPPF[MAXPATHLEN];
+ int count, seekpos, pos;
+ u32 anz; // use 32-bit to avoid stupid overflows
+ s32 ladr, off, anx;
ppfHead = NULL;