aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-16 16:51:06 +0000
committerGitHub <noreply@github.com>2022-01-16 16:51:06 +0000
commitcd18553bbc302f264edf35eed1daab07a2512513 (patch)
tree6c56076795299c601ed6afae5bac973b61585774 /NorthstarDedicatedTest/dllmain.cpp
parentd4d4e489e4a1435e1df3cd1a1e3666e7ae713829 (diff)
parent8e9338805062f53be1135d49b6021bd3ab8a220f (diff)
downloadNorthstarLauncher-cd18553bbc302f264edf35eed1daab07a2512513.tar.gz
NorthstarLauncher-cd18553bbc302f264edf35eed1daab07a2512513.zip
Merge pull request #34 from HappyDOGE/main
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 fa8e6463..db422467 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -31,6 +31,7 @@
#include "memalloc.h"
#include "maxplayers.h"
#include "languagehooks.h"
+#include "audio.h"
bool initialised = false;
@@ -136,6 +137,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);