summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpcsxcore/ppf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/ppf.c b/libpcsxcore/ppf.c
index a137d71b..ef1b81ac 100644
--- a/libpcsxcore/ppf.c
+++ b/libpcsxcore/ppf.c
@@ -132,7 +132,7 @@ void CheckPPFCache(unsigned char *pB, unsigned char m, unsigned char s, unsigned
}
static void AddToPPF(s32 ladr, s32 pos, s32 anz, unsigned char *ppfmem) {
- if (!ppfHead) {
+ if (ppfHead == NULL) {
ppfHead = (PPF_DATA *)malloc(sizeof(PPF_DATA) + anz);
ppfHead->addr = ladr;
ppfHead->pNext = NULL;