mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-07-01 08:41:57 +00:00
Update dllmain.cpp
This commit is contained in:
@ -5,8 +5,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
|||||||
{
|
{
|
||||||
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
|
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
|
||||||
{
|
{
|
||||||
const auto value = *reinterpret_cast<DWORD*>(0x20700000);
|
const auto value = *reinterpret_cast<DWORD*>(0x20800000);
|
||||||
if (value != 0x2A6784ED)
|
if (value != 0xB9C9566)
|
||||||
{
|
{
|
||||||
printf("\x1b[31m\n**************************************************************************************\n\n");
|
printf("\x1b[31m\n**************************************************************************************\n\n");
|
||||||
printf("This version of \x1b[33miw5-gsc-utils\x1b[31m is outdated.\n");
|
printf("This version of \x1b[33miw5-gsc-utils\x1b[31m is outdated.\n");
|
||||||
|
Reference in New Issue
Block a user