aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/languagehooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/languagehooks.cpp')
-rw-r--r--NorthstarDLL/languagehooks.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDLL/languagehooks.cpp b/NorthstarDLL/languagehooks.cpp
index 9e5dda86..d00beb68 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*,, ())
+char*, __fastcall, ())
+// clang-format on
{
auto tier0Handle = GetModuleHandleA("tier0.dll");
auto Tier0_DetectDefaultLanguageType = GetProcAddress(tier0Handle, "Tier0_DetectDefaultLanguage");