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);