Cheats: Reapply frame end codes immediately on reload

Otherwise you end up with a single frame where the old code is used.
This commit is contained in:
Stenzek 2025-02-10 23:44:58 +10:00
parent c137c562cd
commit ce616f1c5c
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

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