1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +00:00

PostTerminateGameSpecificShutdown

This commit is contained in:
Filip Gawin 2019-06-30 22:39:54 +02:00
parent 404d9bedd2
commit bd23f2c425
2 changed files with 10 additions and 2 deletions

View file

@ -9,15 +9,21 @@
cAudioManager &AudioManager = *(cAudioManager *)0x880FC0;
void
cAudioManager::PostTerminateGameSpecificShutdown()
{
;
}
bool
cAudioManager::IsAudioInitialised() const
{
return m_bIsInitialised;
return m_bIsInitialised;
}
void cAudioManager::SetDynamicAcousticModelingStatus(bool status)
{
m_bDynamicAcousticModelingStatus = status;
m_bDynamicAcousticModelingStatus = status;
}
void
@ -2699,6 +2705,7 @@ cAudioManager::Service()
}
STARTPATCHES
InjectHook(0x569640, &cAudioManager::PostTerminateGameSpecificShutdown, PATCH_JUMP);
InjectHook(0x57AA00, &cAudioManager::SetDynamicAcousticModelingStatus, PATCH_JUMP);
InjectHook(0x57AA50, &cAudioManager::IsAudioInitialised, PATCH_JUMP);
InjectHook(0x57C290, &cAudioManager::GenerateIntegerRandomNumberTable, PATCH_JUMP);

View file

@ -216,6 +216,7 @@ public:
char field_19195;
int m_nTimeOfRecentCrime;
void PostTerminateGameSpecificShutdown();
bool IsAudioInitialised() const;
void SetDynamicAcousticModelingStatus(bool status);
void GenerateIntegerRandomNumberTable();