diff --git a/Source/Core/Core/GeckoCode.cpp b/Source/Core/Core/GeckoCode.cpp index a20bec09f7..bed9e3ea7a 100644 --- a/Source/Core/Core/GeckoCode.cpp +++ b/Source/Core/Core/GeckoCode.cpp @@ -203,7 +203,7 @@ void RunCodeHandler() { // Don't spam retry if the install failed. The corrupt / missing disk file is not likely to be // fixed within 1 frame of the last error. - if (s_code_handler_installed == Installation::Failed) + if (s_active_codes.empty() || s_code_handler_installed == Installation::Failed) return; s_code_handler_installed = InstallCodeHandlerLocked();