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,6 +9,12 @@
cAudioManager &AudioManager = *(cAudioManager *)0x880FC0;
void
cAudioManager::PostTerminateGameSpecificShutdown()
{
;
}
bool
cAudioManager::IsAudioInitialised() const
{
@ -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();