mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-26 19:14:15 +01:00
fixes for #142
This commit is contained in:
parent
40b3ff31bb
commit
e003f7ffba
@ -794,10 +794,10 @@ cAudioManager::MissionScriptAudioUsesPoliceChannel(int32 soundMission)
|
||||
}
|
||||
}
|
||||
|
||||
uint8
|
||||
char *
|
||||
cAudioManager::Get3DProviderName(uint8 id)
|
||||
{
|
||||
if(m_bIsInitialised) return 0;
|
||||
if(!m_bIsInitialised) return 0;
|
||||
if(id >= num3DProvidersAvailable) return 0;
|
||||
return asName3DProviders[id];
|
||||
}
|
||||
|
@ -292,7 +292,7 @@ public:
|
||||
|
||||
bool MissionScriptAudioUsesPoliceChannel(int32 soundMission);
|
||||
|
||||
uint8 Get3DProviderName(uint8 id);
|
||||
char* Get3DProviderName(uint8 id);
|
||||
|
||||
bool SetupJumboFlySound(uint8 emittingVol); /// ok
|
||||
bool SetupJumboRumbleSound(uint8 emittingVol); /// ok
|
||||
|
@ -6,7 +6,7 @@ CSampleManager &cSampleManager = *(CSampleManager *)0x7341E0;
|
||||
|
||||
uint32 &nNumOfMp3Files = *(uint32 *)0x95CC00;
|
||||
uint8 &num3DProvidersAvailable = *(uint8 *)0x734237;
|
||||
uint32 *asName3DProviders = (uint32 *)0x734238;
|
||||
char **asName3DProviders = (char **)0x734238;
|
||||
|
||||
bool
|
||||
CSampleManager::IsMP3RadioChannelAvailable()
|
||||
|
@ -63,6 +63,6 @@ public:
|
||||
|
||||
extern uint32 &nNumOfMp3Files;
|
||||
extern uint8 &num3DProvidersAvailable;
|
||||
extern uint32 *asName3DProviders;
|
||||
extern char **asName3DProviders;
|
||||
|
||||
extern CSampleManager &cSampleManager;
|
Loading…
Reference in New Issue
Block a user