Skip to content

Commit

Permalink
Settings: Disable block linking when runahead is active
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Mar 16, 2023
1 parent 33f5d9c commit 595abd2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/settings.cpp
Expand Up @@ -674,6 +674,13 @@ void Settings::FixIncompatibleSettings(bool display_osd_messages)
g_settings.rewind_enable = false;
}

if (g_settings.IsRunaheadEnabled())
{
// Block linking is good for performance, but hurts when regularly loading (i.e. runahead), since everything has to
// be unlinked. Which would be thousands of blocks.
g_settings.cpu_recompiler_block_linking = false;
}

// if challenge mode is enabled, disable things like rewind since they use save states
if (Achievements::ChallengeModeActive())
{
Expand Down

0 comments on commit 595abd2

Please sign in to comment.