diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index bd05214..cb5f237 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -3677,6 +3677,10 @@ void Patch_SA_Steam() Patch(0x76082C, 0x90C35D5F); // pop edi, pop ebp, ret + // "Streaming memory bug" fix + InjectHook(0x4CF9E8, GTARtAnimInterpolatorSetCurrentAnim); + + // Fixed police scanner names char* pScannerNames = *(char**)0x4F2B83; strcpy(pScannerNames + (8*113), "WESTP"); @@ -3951,6 +3955,10 @@ void Patch_SA_NewSteam_r2() Patch(0x75AE39, 0xC3); + // "Streaming memory bug" fix + InjectHook(0x4CF1FB, GTARtAnimInterpolatorSetCurrentAnim); + + // Proper aspect ratios static const float f43 = 4.0f/3.0f, f54 = 5.0f/4.0f, f169 = 16.0f/9.0f; Patch(0x73424B, &f169); @@ -4130,6 +4138,10 @@ void Patch_SA_NewSteam_r2_lv() Patch(0x75AD29, 0xC3); + // "Streaming memory bug" fix + InjectHook(0x4CF1DB, GTARtAnimInterpolatorSetCurrentAnim); + + // Proper aspect ratios static const float f43 = 4.0f/3.0f, f54 = 5.0f/4.0f, f169 = 16.0f/9.0f; Patch(0x73414B, &f169);