summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-05 15:10:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-05 15:10:26 +0200
commit6853be36c8bd293c8ee0b18cd411fc5a3ebe1099 (patch)
tree813ff9d66382eea57625ec5cb2ca1872d12d7113 /src/audio/sampman_oal.cpp
parentfixed darkel/replay (diff)
parentMerge branch 'master' of https://github.com/GTAmodding/re3 into audioFix (diff)
downloadre3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.tar
re3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.tar.gz
re3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.tar.bz2
re3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.tar.lz
re3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.tar.xz
re3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.tar.zst
re3-6853be36c8bd293c8ee0b18cd411fc5a3ebe1099.zip
Diffstat (limited to '')
-rw-r--r--src/audio/sampman_oal.cpp5
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);