GameSettings: Add speed hack for Skylanders: Swap Force

This commit is contained in:
Martino Fontana
2026-10-01 15:12:54 +00:00
parent 771fb15405
commit 0b4ebbfb94
2 changed files with 20 additions and 1 deletions
File diff suppressed because one or more lines are too long
+19
View File
@@ -0,0 +1,19 @@
# SVXE52, SVXF52, SVXP52, SVXI52, SVXY52 - Skylanders: Swap Force
[OnFrame]
# Changes an idle loop that Dolphin is unable to detect, to one that it can detect.
#
# The loop waits for a vblank interrupt, spamming `OSYieldThread` in the meantime.
# The patch replaces the call to `VIWaitForRetrace`, which still executes the other threads,
# but sleeps instead of spinlocking when there is no thread to execute.
#
# In order: revision 0, revision 1.
$Idle loop speed hack
0x8099626C:dword:0x4B8F1165:0x4B8E7505
0x809963F8:dword:0x4B8F0FD9:0x4B8E7379
[OnFrame_Enabled]
$Idle loop speed hack
[Patches_RetroAchievements_Verified]
$Idle loop speed hack