summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-01-12 23:31:38 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2026-01-17 17:19:53 -0600
commit43ae718088b82426ae9e2f91333a3a813ecd1cfd (patch)
tree3274a2acdfb5903880b4028b1fd9196f0e8eaf1d
parent663f71b5d1848d838164e75a5802c73fff0fae58 (diff)
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.
-rw-r--r--Data/Sys/GameSettings/GH2.ini16
-rw-r--r--Data/Sys/GameSettings/GH2E69.ini12
-rw-r--r--Data/Sys/GameSettings/GH2P69.ini12
3 files changed, 24 insertions, 16 deletions
diff --git a/Data/Sys/GameSettings/GH2.ini b/Data/Sys/GameSettings/GH2.ini
deleted file mode 100644
index 9c2fca42c8..0000000000
--- a/Data/Sys/GameSettings/GH2.ini
+++ /dev/null
@@ -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
diff --git a/Data/Sys/GameSettings/GH2E69.ini b/Data/Sys/GameSettings/GH2E69.ini
new file mode 100644
index 0000000000..743c2a4f2a
--- /dev/null
+++ b/Data/Sys/GameSettings/GH2E69.ini
@@ -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)
diff --git a/Data/Sys/GameSettings/GH2P69.ini b/Data/Sys/GameSettings/GH2P69.ini
new file mode 100644
index 0000000000..0376b45c7f
--- /dev/null
+++ b/Data/Sys/GameSettings/GH2P69.ini
@@ -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)