aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2022-01-04 14:19:22 +0300
committerHappyDOGE <28511119+HappyDOGE@users.noreply.github.com>2022-01-04 14:19:22 +0300
commit0adbb7b60f5134a27558404c6c0ffacd42cb38c2 (patch)
tree53bcd279a5f2145955abe4449e83bebb230a8b09 /NorthstarDedicatedTest/dllmain.cpp
parent7d804649313949c1236463e7277c68200eb97769 (diff)
downloadNorthstarLauncher-0adbb7b60f5134a27558404c6c0ffacd42cb38c2.tar.gz
NorthstarLauncher-0adbb7b60f5134a27558404c6c0ffacd42cb38c2.zip
audio override
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 83e78f4e..fd82e382 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -30,6 +30,7 @@
#include "memalloc.h"
#include "maxplayers.h"
#include "languagehooks.h"
+#include "audio.h"
bool initialised = false;
@@ -134,6 +135,9 @@ bool InitialiseNorthstar()
AddDllLoadCallback("client.dll", InitialiseMaxPlayersOverride_Client);
AddDllLoadCallback("server.dll", InitialiseMaxPlayersOverride_Server);
+ // audio hooks
+ AddDllLoadCallback("client.dll", InitialiseMilesAudioHooks);
+
// mod manager after everything else
AddDllLoadCallback("engine.dll", InitialiseModManager);