summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorblingu <36486731+blingu@users.noreply.github.com>2020-08-05 14:35:24 +0200
committerGitHub <noreply@github.com>2020-08-05 14:35:24 +0200
commit56ea53a5db82887163eb76388ad936f71788490e (patch)
tree67f55da8a4a850f42733dcccc4b639516ece5a77 /src
parentadded FreeBSD support (diff)
downloadre3-56ea53a5db82887163eb76388ad936f71788490e.tar
re3-56ea53a5db82887163eb76388ad936f71788490e.tar.gz
re3-56ea53a5db82887163eb76388ad936f71788490e.tar.bz2
re3-56ea53a5db82887163eb76388ad936f71788490e.tar.lz
re3-56ea53a5db82887163eb76388ad936f71788490e.tar.xz
re3-56ea53a5db82887163eb76388ad936f71788490e.tar.zst
re3-56ea53a5db82887163eb76388ad936f71788490e.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/sampman_oal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index 0e173152..5e4b5aba 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -587,16 +587,16 @@ cSampleManager::Initialise(void)
}
nSampleBankMemoryStartAddress[SAMPLEBANK_MAIN] = (uintptr)malloc(nSampleBankSize[SAMPLEBANK_MAIN]);
- ASSERT(nSampleBankMemoryStartAddress[SAMPLEBANK_MAIN] != NULL);
+ ASSERT(nSampleBankMemoryStartAddress[SAMPLEBANK_MAIN] != 0);
- if ( nSampleBankMemoryStartAddress[SAMPLEBANK_MAIN] == NULL )
+ if ( nSampleBankMemoryStartAddress[SAMPLEBANK_MAIN] == 0 )
{
Terminate();
return false;
}
nSampleBankMemoryStartAddress[SAMPLEBANK_PED] = (uintptr)malloc(PED_BLOCKSIZE*MAX_PEDSFX);
- ASSERT(nSampleBankMemoryStartAddress[SAMPLEBANK_PED] != NULL);
+ ASSERT(nSampleBankMemoryStartAddress[SAMPLEBANK_PED] != 0);
}