Skip to content

Commit

Permalink
Merge pull request #5523 from dolphin-emu/revert-5448-master
Browse files Browse the repository at this point in the history
Revert "GeckoCode: install code handler even if no codes are activated"
  • Loading branch information
JosJuice committed Jun 5, 2017
2 parents 272cd89 + dda42c3 commit 886cb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/GeckoCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 886cb26

Please sign in to comment.