summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-10-05 00:25:56 +0200
committereray orçunus <erayorcunus@gmail.com>2020-10-05 00:25:56 +0200
commit49ae7da5ce9a134ffba98f0ffc7684e21f362629 (patch)
tree5a080bb2418f4440b8e73cae1d21e3d39d0baa14 /src/audio/sampman_oal.cpp
parentMerge pull request #737 from theR4K/miamiDev (diff)
downloadre3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.tar
re3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.tar.gz
re3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.tar.bz2
re3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.tar.lz
re3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.tar.xz
re3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.tar.zst
re3-49ae7da5ce9a134ffba98f0ffc7684e21f362629.zip
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-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 94e653b1..d0b88245 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
@@ -1462,11 +1463,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);