[Main]: Remove bugged code. (#640)
This commit is contained in:
parent
f91fa0d0b2
commit
873f54c7a3
@ -64,7 +64,7 @@ BOOL APIENTRY DllMain(HINSTANCE /*hinstDLL*/, DWORD fdwReason, LPVOID /*lpvReser
|
|||||||
MessageBoxA(nullptr,
|
MessageBoxA(nullptr,
|
||||||
"Failed to load game binary.\n"
|
"Failed to load game binary.\n"
|
||||||
"You did not install the iw4x-rawfiles!\n"
|
"You did not install the iw4x-rawfiles!\n"
|
||||||
"Please use the XLabs launcher to run the game. For support please visit https://xlabs.dev/support_iw4x_client",
|
"Please use the XLabs launcher to run the game. For support, please visit https://xlabs.dev/support_iw4x_client",
|
||||||
"ERROR",
|
"ERROR",
|
||||||
MB_ICONERROR
|
MB_ICONERROR
|
||||||
);
|
);
|
||||||
@ -72,10 +72,8 @@ BOOL APIENTRY DllMain(HINSTANCE /*hinstDLL*/, DWORD fdwReason, LPVOID /*lpvReser
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DEBUG_BINARY_CHECK
|
|
||||||
// Install entry point hook
|
// Install entry point hook
|
||||||
Utils::Hook(0x6BAC0F, Main::EntryPoint, HOOK_JUMP).install()->quick();
|
Utils::Hook(0x6BAC0F, Main::EntryPoint, HOOK_JUMP).install()->quick();
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else if (fdwReason == DLL_PROCESS_DETACH)
|
else if (fdwReason == DLL_PROCESS_DETACH)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user