aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/languagehooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/languagehooks.cpp')
-rw-r--r--NorthstarDLL/languagehooks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDLL/languagehooks.cpp b/NorthstarDLL/languagehooks.cpp
index 9e5dda86..f5270dd9 100644
--- a/NorthstarDLL/languagehooks.cpp
+++ b/NorthstarDLL/languagehooks.cpp
@@ -47,8 +47,10 @@ std::string GetAnyInstalledAudioLanguage()
return "NO LANGUAGE DETECTED";
}
+// clang-format off
AUTOHOOK(GetGameLanguage, tier0.dll + 0xF560,
char*,, ())
+// clang-format on
{
auto tier0Handle = GetModuleHandleA("tier0.dll");
auto Tier0_DetectDefaultLanguageType = GetProcAddress(tier0Handle, "Tier0_DetectDefaultLanguage");