mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
b210769ea0
The active codes normally get cleared when a game boots, because LoadPatches gets called, replacing the codes from the previous game. However, there were cases where LoadPatches doesn't get called, and then codes from the previous game would be used for the current game. This commit clears the codes on shutdown so that it doesn't matter whether the boot process loads LoadPatches.