mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
stream mem fix for other SA EXEs
This commit is contained in:
parent
20550b5ed0
commit
1d8b5d4216
1 changed files with 12 additions and 0 deletions
|
@ -3677,6 +3677,10 @@ void Patch_SA_Steam()
|
|||
Patch<DWORD>(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<BYTE>(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<const void*>(0x73424B, &f169);
|
||||
|
@ -4130,6 +4138,10 @@ void Patch_SA_NewSteam_r2_lv()
|
|||
Patch<BYTE>(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<const void*>(0x73414B, &f169);
|
||||
|
|
Loading…
Reference in a new issue