diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-10 18:15:51 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-10 18:15:51 +0200 |
commit | 1c1fa25e6cb8b6b49523abf11c88bc4b326668cd (patch) | |
tree | 3c595b1c81bb2ffb3390631673af1b3ab30c2bcd /src/audio | |
parent | Merge pull request #677 from majesticCoding/miami (diff) | |
parent | update librw (diff) | |
download | re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.tar re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.tar.gz re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.tar.bz2 re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.tar.lz re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.tar.xz re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.tar.zst re3-1c1fa25e6cb8b6b49523abf11c88bc4b326668cd.zip |
Diffstat (limited to 'src/audio')
-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 a2943aff..ffa4c456 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); } |