From 90c177779d8c8d02a3f8701f8149a3f7d9778a9f Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 23 Jan 2010 09:34:25 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@40653 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/ppf.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libpcsxcore') 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; -- cgit v1.2.3