PAD: Intelligently skip saving memcard state for runahead

This commit is contained in:
Stenzek
2023-03-16 21:22:08 +10:00
parent 595abd27dd
commit 3673827363
5 changed files with 192 additions and 30 deletions

View File

@ -678,7 +678,11 @@ void Settings::FixIncompatibleSettings(bool display_osd_messages)
{
// 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 (g_settings.cpu_recompiler_block_linking)
{
Log_WarningPrintf("Disabling block linking due to runahead.");
g_settings.cpu_recompiler_block_linking = false;
}
}
// if challenge mode is enabled, disable things like rewind since they use save states