diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-01-23 12:07:40 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-01-23 12:07:40 +0000 |
| commit | 3c986f762c57b46bb7988d9210b2cab4ce5fb328 (patch) | |
| tree | 9306223b92ce2f57fa272487a326cff5588c464d /libpcsxcore | |
| parent | 4f955540f5cca37f1f1ddc27b1d76eb635aa9d46 (diff) | |
| download | pcsxr-3c986f762c57b46bb7988d9210b2cab4ce5fb328.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@40661 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/ppf.c | 2 |
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; |
