mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 06:43:01 +05:00
Remove "Adblock"
This commit is contained in:
parent
4732a06003
commit
6ee676400b
5 changed files with 0 additions and 36 deletions
|
@ -11,5 +11,3 @@
|
|||
#include "Utils/MemoryMgr.h"
|
||||
#include "Utils/MemoryMgr.GTA.h"
|
||||
#include "Utils/Patterns.h"
|
||||
|
||||
#define DISABLE_FLA_DONATION_WINDOW 0
|
||||
|
|
|
@ -1140,16 +1140,6 @@ void Patch_III_10(uint32_t width, uint32_t height)
|
|||
// Fixed crash related to autopilot timing calculations
|
||||
InjectHook(0x4139B2, AutoPilotTimerFix_III, HookType::Jump);
|
||||
|
||||
|
||||
// Adblocker
|
||||
#if DISABLE_FLA_DONATION_WINDOW
|
||||
if ( *(DWORD*)0x582749 != 0x006A026A )
|
||||
{
|
||||
Patch<DWORD>(0x582749, 0x006A026A);
|
||||
Patch<WORD>(0x58274D, 0x006A);
|
||||
}
|
||||
#endif
|
||||
|
||||
Common::Patches::DDraw_III_10( width, height, aNoDesktopMode );
|
||||
}
|
||||
|
||||
|
|
|
@ -3681,18 +3681,6 @@ BOOL InjectDelayedPatches_10()
|
|||
Nop( 0x4C9239+9, 1 );
|
||||
}
|
||||
|
||||
// Adblocker
|
||||
#if DISABLE_FLA_DONATION_WINDOW
|
||||
if ( moduleList.Get(L"$fastman92limitAdjuster") != nullptr )
|
||||
{
|
||||
if ( *(DWORD*)0x748736 != 0xE8186A53 )
|
||||
{
|
||||
Patch<DWORD>(0x748736, 0xE8186A53);
|
||||
InjectHook(AddressByRegion_10<int>(0x748739), 0x619B60);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( *(DWORD*)0x4065BB == 0x3B0BE1C1 )
|
||||
{
|
||||
// Handle IMGs bigger than 4GB
|
||||
|
|
|
@ -34,8 +34,6 @@ RwObject* GetFirstObject(RwFrame* pFrame);
|
|||
extern unsigned char& nGameClockDays;
|
||||
extern unsigned char& nGameClockMonths;
|
||||
|
||||
#define DISABLE_FLA_DONATION_WINDOW 0
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define MEM_VALIDATORS 1
|
||||
#else
|
||||
|
|
|
@ -988,16 +988,6 @@ void Patch_VC_10(uint32_t width, uint32_t height)
|
|||
// Fixed crash related to autopilot timing calculations
|
||||
InjectHook(0x418FAE, AutoPilotTimerFix_VC, HookType::Jump);
|
||||
|
||||
|
||||
// Adblocker
|
||||
#if DISABLE_FLA_DONATION_WINDOW
|
||||
if ( *(DWORD*)0x5FFAE9 != 0x006A026A )
|
||||
{
|
||||
Patch<DWORD>(0x5FFAE9, 0x006A026A);
|
||||
Patch<WORD>(0x5FFAED, 0x006A);
|
||||
}
|
||||
#endif
|
||||
|
||||
Common::Patches::DDraw_VC_10( width, height, aNoDesktopMode );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue