From d07c1b3efd41e1907cfc8c48900f3270fbafd5f1 Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Sun, 6 Sep 2020 19:32:19 +0200 Subject: [PATCH] ""Fix"" locale issue caused by steam just make the popup not appear lol --- src/hack.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/hack.cpp b/src/hack.cpp index 614ad7aa..2b77579b 100644 --- a/src/hack.cpp +++ b/src/hack.cpp @@ -305,6 +305,13 @@ free(logname);*/ logging::Info("Initializing..."); InitRandom(); sharedobj::LoadEarlyObjects(); + +// Fix locale issues caused by steam update +#if ENABLE_TEXTMODE + static BytePatch patch(gSignatures.GetEngineSignature, "74 ? 89 5C 24 ? 8D 9D ? ? ? ? 89 74 24", 0, { 0x71 }); + patch.Patch(); +#endif + CreateEarlyInterfaces(); logging::Info("Clearing Early initializer stack"); while (!init_stack_early().empty())