diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-10-05 00:25:56 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-10-05 13:23:37 +0200 |
commit | ee27cae7325e69a4f0d29698c01f686fd2ca6c5c (patch) | |
tree | 63a79e86d1558792a93278956c7ec1f5e53d020d /src | |
parent | Fix Audio (diff) | |
download | re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.tar re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.tar.gz re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.tar.bz2 re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.tar.lz re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.tar.xz re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.tar.zst re3-ee27cae7325e69a4f0d29698c01f686fd2ca6c5c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio/sampman_oal.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp index b10aa1ff..9f3156cb 100644 --- a/src/audio/sampman_oal.cpp +++ b/src/audio/sampman_oal.cpp @@ -27,6 +27,7 @@ #include "MusicManager.h" #include "Frontend.h" #include "Timer.h" +#include "crossplatform.h" #ifdef AUDIO_OPUS #include <opusfile.h> #endif @@ -1423,11 +1424,11 @@ cSampleManager::InitialiseSampleBanks(void) { int32 nBank = SFX_BANK_0; - fpSampleDescHandle = fopen(SampleBankDescFilename, "rb"); + fpSampleDescHandle = fcaseopen(SampleBankDescFilename, "rb"); if ( fpSampleDescHandle == NULL ) return false; #ifndef AUDIO_OPUS - fpSampleDataHandle = fopen(SampleBankDataFilename, "rb"); + fpSampleDataHandle = fcaseopen(SampleBankDataFilename, "rb"); if ( fpSampleDataHandle == NULL ) { fclose(fpSampleDescHandle); |