diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-09-02 18:22:50 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-09-02 18:22:50 +0200 |
commit | a16fcd8d6a79e433c1c6e73d540f1bbe27e14164 (patch) | |
tree | 99b17cfb4a55ad82391431451c9660f313ea3e61 /src/audio/sampman_null.cpp | |
parent | Audio: small refactoring (diff) | |
download | re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.tar re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.tar.gz re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.tar.bz2 re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.tar.lz re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.tar.xz re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.tar.zst re3-a16fcd8d6a79e433c1c6e73d540f1bbe27e14164.zip |
Diffstat (limited to 'src/audio/sampman_null.cpp')
-rw-r--r-- | src/audio/sampman_null.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/audio/sampman_null.cpp b/src/audio/sampman_null.cpp index f66488b8..2e6c628d 100644 --- a/src/audio/sampman_null.cpp +++ b/src/audio/sampman_null.cpp @@ -148,20 +148,20 @@ cSampleManager::UnloadSampleBank(uint8 nBank) ASSERT( nBank < MAX_SFX_BANKS ); } -bool8 +int8 cSampleManager::IsSampleBankLoaded(uint8 nBank) { ASSERT( nBank < MAX_SFX_BANKS ); - return FALSE; + return LOADING_STATUS_NOT_LOADED; } -bool8 +uint8 cSampleManager::IsMissionAudioLoaded(uint8 nSlot, uint32 nSample) { ASSERT(nSlot < MISSION_AUDIO_COUNT); - return FALSE; + return LOADING_STATUS_NOT_LOADED; } bool8 @@ -172,12 +172,12 @@ cSampleManager::LoadMissionAudio(uint8 nSlot, uint32 nSample) return FALSE; } -bool8 +uint8 cSampleManager::IsPedCommentLoaded(uint32 nComment) { ASSERT( nComment < TOTAL_AUDIO_SAMPLES ); - return FALSE; + return LOADING_STATUS_NOT_LOADED; } |