From dda42c3c9227d68104f1ac3e244d3481a6c56454 Mon Sep 17 00:00:00 2001 From: Leo Lam Date: Sat, 3 Jun 2017 22:52:42 +0200 Subject: [PATCH] Revert "GeckoCode: install code handler even if no codes are activated" --- Source/Core/Core/GeckoCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();