diff options
author | p0358 <p0358@users.noreply.github.com> | 2022-01-01 22:41:45 +0100 |
---|---|---|
committer | p0358 <p0358@users.noreply.github.com> | 2022-01-01 22:41:45 +0100 |
commit | 65c2e58a6a788a504c352d4ed34d43be17d0abdd (patch) | |
tree | 0c96fb745385ce80ee29c68f5f0d9717eda493e4 /NorthstarDedicatedTest/dllmain.cpp | |
parent | 8327cd3e13f80cde3c0b0f6482e400793e67007f (diff) | |
download | NorthstarLauncher-65c2e58a6a788a504c352d4ed34d43be17d0abdd.tar.gz NorthstarLauncher-65c2e58a6a788a504c352d4ed34d43be17d0abdd.zip |
Language selection/detection fixes, no more "files corrupted" error, will throw the proper Origin error now :D
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index 87fb4d5f..79f54374 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -26,6 +26,7 @@ #include "miscclientfixes.h" #include "miscserverfixes.h" #include "memalloc.h" +#include "languagehooks.h" bool initialised = false; @@ -63,7 +64,7 @@ bool InitialiseNorthstar() { if (initialised) { - spdlog::warn("Called InitialiseNorthstar more than once!"); + //spdlog::warn("Called InitialiseNorthstar more than once!"); return false; } @@ -78,6 +79,7 @@ bool InitialiseNorthstar() InitialiseInterfaceCreationHooks(); AddDllLoadCallback("tier0.dll", InitialiseTier0GameUtilFunctions); + AddDllLoadCallback("tier0.dll", InitialiseTier0LanguageHooks); AddDllLoadCallback("engine.dll", WaitForDebugger); AddDllLoadCallback("engine.dll", InitialiseEngineGameUtilFunctions); AddDllLoadCallback("server.dll", InitialiseServerGameUtilFunctions); |