mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 09:39:16 +01:00
SetDynamicAcousticModelingStatus
This commit is contained in:
parent
7488f094e2
commit
404d9bedd2
@ -15,6 +15,11 @@ cAudioManager::IsAudioInitialised() const
|
|||||||
return m_bIsInitialised;
|
return m_bIsInitialised;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void cAudioManager::SetDynamicAcousticModelingStatus(bool status)
|
||||||
|
{
|
||||||
|
m_bDynamicAcousticModelingStatus = status;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
cAudioManager::GenerateIntegerRandomNumberTable()
|
cAudioManager::GenerateIntegerRandomNumberTable()
|
||||||
{
|
{
|
||||||
@ -2694,7 +2699,7 @@ cAudioManager::Service()
|
|||||||
}
|
}
|
||||||
|
|
||||||
STARTPATCHES
|
STARTPATCHES
|
||||||
|
InjectHook(0x57AA00, &cAudioManager::SetDynamicAcousticModelingStatus, PATCH_JUMP);
|
||||||
InjectHook(0x57AA50, &cAudioManager::IsAudioInitialised, PATCH_JUMP);
|
InjectHook(0x57AA50, &cAudioManager::IsAudioInitialised, PATCH_JUMP);
|
||||||
InjectHook(0x57C290, &cAudioManager::GenerateIntegerRandomNumberTable, PATCH_JUMP);
|
InjectHook(0x57C290, &cAudioManager::GenerateIntegerRandomNumberTable, PATCH_JUMP);
|
||||||
InjectHook(0x56AD20, &cAudioManager::PlayerJustLeftCar, PATCH_JUMP);
|
InjectHook(0x56AD20, &cAudioManager::PlayerJustLeftCar, PATCH_JUMP);
|
||||||
|
@ -175,7 +175,7 @@ public:
|
|||||||
char field_2;
|
char field_2;
|
||||||
char m_bActiveSamples;
|
char m_bActiveSamples;
|
||||||
char field_4;
|
char field_4;
|
||||||
char m_bDynamicAcousticModelingStatus;
|
bool m_bDynamicAcousticModelingStatus;
|
||||||
char field_6;
|
char field_6;
|
||||||
char field_7;
|
char field_7;
|
||||||
float field_8;
|
float field_8;
|
||||||
@ -217,6 +217,7 @@ public:
|
|||||||
int m_nTimeOfRecentCrime;
|
int m_nTimeOfRecentCrime;
|
||||||
|
|
||||||
bool IsAudioInitialised() const;
|
bool IsAudioInitialised() const;
|
||||||
|
void SetDynamicAcousticModelingStatus(bool status);
|
||||||
void GenerateIntegerRandomNumberTable();
|
void GenerateIntegerRandomNumberTable();
|
||||||
|
|
||||||
void PlayerJustLeftCar(void);
|
void PlayerJustLeftCar(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user