Skip to content

Commit

Permalink
Cheats: Reapply frame end codes immediately on reload
Browse files Browse the repository at this point in the history
Otherwise you end up with a single frame where the old code is used.
  • Loading branch information
stenzek committed Feb 10, 2025
1 parent c137c56 commit ce616f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/cheats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ce616f1

Please sign in to comment.