diff options
author | blingu <36486731+blingu@users.noreply.github.com> | 2020-08-05 14:35:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 14:35:24 +0200 |
commit | 56ea53a5db82887163eb76388ad936f71788490e (patch) | |
tree | 67f55da8a4a850f42733dcccc4b639516ece5a77 /src/audio/sampman_oal.cpp | |
parent | added FreeBSD support (diff) | |
download | re3-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 '')
-rw-r--r-- | src/audio/sampman_oal.cpp | 6 |
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); } |