summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/ppf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c
index 5e563c19..a137d71b 100644
--- a/libpcsxcore/ppf.c
+++ b/libpcsxcore/ppf.c
@@ -179,7 +179,7 @@ void BuildPPFCache() {
u32 anz; // use 32-bit to avoid stupid overflows
s32 ladr, off, anx;
- ppfHead = NULL;
+ FreePPFCache();
// Generate filename in the format of SLUS_123.45
buffer[0] = toupper(CdromId[0]);