From b2c1a775e0c79f538e6c938e256b4f8d5779a4c5 Mon Sep 17 00:00:00 2001 From: Silent Date: Tue, 11 Nov 2014 23:14:38 +0100 Subject: [PATCH] 1.0 EU crash fix --- SAFix/SilentPatchSA.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SAFix/SilentPatchSA.cpp b/SAFix/SilentPatchSA.cpp index 9cce271..80e8d27 100644 --- a/SAFix/SilentPatchSA.cpp +++ b/SAFix/SilentPatchSA.cpp @@ -2442,10 +2442,10 @@ void Patch_SA_10() Patch(0x7463C8, aNoDesktopMode); // 1000 FPS cap - Patch(0x748D69, 0x18); - Patch(0x748D72, 0x0F); - InjectHook(0x748D7D, NoFPSLimit, PATCH_JUMP); - InjectHook(0x748D82, YesFPSLimit, PATCH_JUMP); + Patch(AddressByRegion_10(0x748D69), 0x18); + Patch(AddressByRegion_10(0x748D72), 0x0F); + InjectHook(AddressByRegion_10(0x748D7D), NoFPSLimit, PATCH_JUMP); + InjectHook(AddressByRegion_10(0x748D82), YesFPSLimit, PATCH_JUMP); // Corrected Map screen 1px issue Patch(0x575DE7, -0.5f); @@ -2685,10 +2685,10 @@ void Patch_SA_11() Patch(0x746C48, aNoDesktopMode); // 1000 FPS cap - Patch(0x74966E, 0x18); - Patch(0x749677, 0x0F); - InjectHook(0x749682, NoFPSLimit_11, PATCH_JUMP); - InjectHook(0x749687, YesFPSLimit_11, PATCH_JUMP); + Patch(AddressByRegion_11(0x74966E), 0x18); + Patch(AddressByRegion_11(0x749677), 0x0F); + InjectHook(AddressByRegion_11(0x749682), NoFPSLimit_11, PATCH_JUMP); + InjectHook(AddressByRegion_11(0x749687), YesFPSLimit_11, PATCH_JUMP); // Corrected Map screen 1px issue Patch(0x576357, -0.5f);