aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/ppf.c
diff options
context:
space:
mode:
authorhizzlekizzle2019-08-03 08:33:29 -0500
committerGitHub2019-08-03 08:33:29 -0500
commit0c510f87cbd5c7089e66ab09ffb7570073c1f63c (patch)
tree99b4ed96c372825a41018465bfddf907a48084ad /libpcsxcore/ppf.c
parentfcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff)
parente6f1e7f70c3ee3816e417f97aef1501a1f950976 (diff)
downloadpcsx_rearmed-0c510f87cbd5c7089e66ab09ffb7570073c1f63c.tar.gz
pcsx_rearmed-0c510f87cbd5c7089e66ab09ffb7570073c1f63c.tar.bz2
pcsx_rearmed-0c510f87cbd5c7089e66ab09ffb7570073c1f63c.zip
Merge pull request #326 from retro-wertz/silence_warnings
silence warnings and a few core fixes
Diffstat (limited to 'libpcsxcore/ppf.c')
-rw-r--r--libpcsxcore/ppf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c
index edebdd0..f6ccfca 100644
--- a/libpcsxcore/ppf.c
+++ b/libpcsxcore/ppf.c
@@ -183,7 +183,7 @@ void BuildPPFCache() {
char method, undo = 0, blockcheck = 0;
int dizlen, dizyn;
unsigned char ppfmem[512];
- char szPPF[MAXPATHLEN];
+ char szPPF[MAXPATHLEN * 2];
int count, seekpos, pos;
u32 anz; // use 32-bit to avoid stupid overflows
s32 ladr, off, anx;