diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-02 00:29:12 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-02 00:29:12 +0000 |
commit | f33bab4fb3586fd06896a7730bce8913c2616b78 (patch) | |
tree | 484bc51055c9ad810fa4bfd1c0b1b0e35ae03096 /NorthstarDedicatedTest/dllmain.cpp | |
parent | ac0c658516d8eaef2c788624f94e974ef47acbb8 (diff) | |
download | NorthstarLauncher-f33bab4fb3586fd06896a7730bce8913c2616b78.tar.gz NorthstarLauncher-f33bab4fb3586fd06896a7730bce8913c2616b78.zip |
tier0 code cleanup and loadlibrary hook fix
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index 878800bd..bdee441f 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -2,7 +2,6 @@ #include "hooks.h" #include "main.h" #include "squirrel.h" -#include "tier0.h" #include "dedicated.h" #include "dedicatedmaterialsystem.h" #include "sourceconsole.h" @@ -66,6 +65,8 @@ void InitialiseNorthstar() InstallInitialHooks(); InitialiseInterfaceCreationHooks(); + // adding a callback to tier0 won't work for some reason + AddDllLoadCallback("launcher.dll", InitialiseTier0GameUtilFunctions); AddDllLoadCallback("engine.dll", WaitForDebugger); AddDllLoadCallback("engine.dll", InitialiseEngineGameUtilFunctions); AddDllLoadCallback("server.dll", InitialiseServerGameUtilFunctions); |