""Fix"" locale issue caused by steam

just make the popup not appear lol
This commit is contained in:
BenCat07 2020-09-06 19:32:19 +02:00 committed by LightCat
parent 181b53e69f
commit d07c1b3efd

View File

@ -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())