mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 21:29:00 +00:00
Fix Linux audio path
This commit is contained in:
parent
9d53b738cc
commit
49ae7da5ce
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue