Fix VC JP ASLR conflict

This commit is contained in:
Silent 2024-10-10 10:59:18 +02:00
parent f49b8696d9
commit 2b64e74069
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1

View File

@ -2419,7 +2419,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
else if ( version == 2 ) Patch_VC_Steam(width, height); else if ( version == 2 ) Patch_VC_Steam(width, height);
// Y axis sensitivity only // Y axis sensitivity only
else if (*(DWORD*)0x601048 == 0x5E5F5D60) Patch_VC_JP(); else if (*(DWORD*)Memory::DynBaseAddress(0x601048) == 0x5E5F5D60) Patch_VC_JP();
Patch_VC_Common(); Patch_VC_Common();
Common::Patches::III_VC_Common(); Common::Patches::III_VC_Common();