mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-21 05:15:44 +00:00
Update dllmain.cpp
This commit is contained in:
parent
8224ca3b57
commit
a548e9d04b
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user