[Proxy]: Format (#991)
This commit is contained in:
parent
5b04b71c4d
commit
233242a013
@ -122,10 +122,12 @@ namespace Components
|
||||
{
|
||||
Game::Com_PrintMessage(Game::CON_CHANNEL_DONT_FILTER, i->data(), 0);
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (!IsConsoleReady())
|
||||
{
|
||||
OutputDebugStringA(i->data());
|
||||
}
|
||||
#endif
|
||||
|
||||
i = MessageQueue.erase(i);
|
||||
}
|
||||
|
@ -4,7 +4,6 @@ namespace Main
|
||||
{
|
||||
void Initialize()
|
||||
{
|
||||
Utils::SetEnvironment();
|
||||
Utils::Cryptography::Initialize();
|
||||
Components::Loader::Initialize();
|
||||
|
||||
@ -70,6 +69,7 @@ BOOL APIENTRY DllMain(HINSTANCE /*hinstDLL*/, DWORD fdwReason, LPVOID /*lpvReser
|
||||
}
|
||||
#endif
|
||||
|
||||
Utils::SetEnvironment();
|
||||
Steam::Proxy::RunMod();
|
||||
// Install entry point hook
|
||||
Utils::Hook(0x6BAC0F, Main::EntryPoint, HOOK_JUMP).install()->quick();
|
||||
|
@ -60,7 +60,7 @@ namespace Steam
|
||||
|
||||
if (this->getMethodData(*vftbl, &name, ¶ms) && name == method)
|
||||
{
|
||||
return{ vftbl->data, params };
|
||||
return { vftbl->data, params };
|
||||
}
|
||||
|
||||
++vftbl;
|
||||
@ -164,7 +164,7 @@ namespace Steam
|
||||
clientUtils.invoke<void>("SetAppIDForCurrentPipe", Proxy::AppId, false);
|
||||
|
||||
char ourPath[MAX_PATH]{};
|
||||
GetModuleFileNameA(GetModuleHandle(nullptr), ourPath, sizeof(ourPath));
|
||||
GetModuleFileNameA(GetModuleHandleA(nullptr), ourPath, sizeof(ourPath));
|
||||
|
||||
char ourDirectory[MAX_PATH]{};
|
||||
GetCurrentDirectoryA(sizeof(ourDirectory), ourDirectory);
|
||||
|
Loading…
Reference in New Issue
Block a user