GameSettings: Add patches for Need for Speed: Hot Pursuit 2 to limit the internal frame rate.

The patches rearrange some branching to insert a call to VIWaitForRetrace in the main game loop.
This allows ImmediateXFB to work properly so it is no longer forced off by the game ini.
This commit is contained in:
Jordan Woyak 2026-01-12 23:31:38 -06:00
parent 663f71b5d1
commit 43ae718088
3 changed files with 24 additions and 16 deletions

View File

@ -1,16 +0,0 @@
# GH2E69, GH2P69 - Need for Speed: Hot Pursuit 2
[Core]
# Values set here will override the main Dolphin settings.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
[Video_Settings]
[Video_Hacks]
# Game runs uncapped and is slow to emulate.
ImmediateXFBEnable = False

View File

@ -0,0 +1,12 @@
# GH2E69 - Need for Speed: Hot Pursuit 2
[OnFrame]
$Limit internal frame rate (speed hack)
0x802243a4:dword:0x60000000
0x802243a8:dword:0x4bf9b58d
0x802243ac:dword:0x806de074
0x802243b0:dword:0x28030000
0x802243b4:dword:0x41820054
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)

View File

@ -0,0 +1,12 @@
# GH2P69 - Need for Speed: Hot Pursuit 2
[OnFrame]
$Limit internal frame rate (speed hack)
0x80224524:dword:0x60000000
0x80224528:dword:0x4bf9b58d
0x8022452c:dword:0x806de094
0x80224530:dword:0x28030000
0x80224534:dword:0x41820054
[OnFrame_Enabled]
$Limit internal frame rate (speed hack)