summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.cpp11
-rw-r--r--src/audio/AudioManager.h1
2 files changed, 10 insertions, 2 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 98a2f82f..e82c2302 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -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);
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 2d2fced8..faae3305 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -216,6 +216,7 @@ public:
char field_19195;
int m_nTimeOfRecentCrime;
+ void PostTerminateGameSpecificShutdown();
bool IsAudioInitialised() const;
void SetDynamicAcousticModelingStatus(bool status);
void GenerateIntegerRandomNumberTable();