From ce616f1c5c336ab38c34a722340b3276a891199d Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 10 Feb 2025 23:44:58 +1000 Subject: [PATCH] Cheats: Reapply frame end codes immediately on reload Otherwise you end up with a single frame where the old code is used. --- src/core/cheats.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/cheats.cpp b/src/core/cheats.cpp index b3fe45983..f79d5a30a 100644 --- a/src/core/cheats.cpp +++ b/src/core/cheats.cpp @@ -920,6 +920,9 @@ void Cheats::ReloadCheats(bool reload_files, bool reload_enabled_list, bool verb } UpdateActiveCodes(reload_enabled_list, verbose, verbose_if_changed, show_disabled_codes); + + // Reapply frame end codes immediately. Otherwise you end up with a single frame where the old code is used. + ApplyFrameEndCodes(); } void Cheats::UnloadAll()