Merge pull request #5523 from dolphin-emu/revert-5448-master

Revert "GeckoCode: install code handler even if no codes are activated"
This commit is contained in:
JosJuice 2017-06-05 09:02:30 +02:00 committed by GitHub
commit 886cb26827
1 changed files with 1 additions and 1 deletions

View File

@ -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();