| 1 | # R7XJ13 - Need for Speed: Nitro |
| 2 | |
| 3 | [OnFrame] |
| 4 | # Changes an idle loop that Dolphin is unable to detect, to one that it can detect. |
| 5 | # |
| 6 | # The loop waits for a vblank interrupt, spamming `OSYieldThread` in the meantime. |
| 7 | # The patch replaces the call to `VIWaitForRetrace`, which still executes the other threads, |
| 8 | # but sleeps instead of spinlocking when there is no thread to execute. |
| 9 | $Speed hack |
| 10 | 0x802B3118:dword:0x4826F5B9 |
| 11 | |
| 12 | [OnFrame_Enabled] |
| 13 | $Speed hack |
| 14 | |
| 15 | [Patches_RetroAchievements_Verified] |
| 16 | $Speed hack |