HostInterface: Don't disable recompiler for runahead

This commit is contained in:
Connor McLaughlin 2021-12-04 23:58:41 +10:00
parent 4513c7a23d
commit 25ea24853f

View file

@ -697,19 +697,6 @@ void HostInterface::FixIncompatibleSettings(bool display_osd_messages)
Log_WarningPrintf("Disabling mmap fastmem due to rewind being enabled"); Log_WarningPrintf("Disabling mmap fastmem due to rewind being enabled");
g_settings.cpu_fastmem_mode = CPUFastmemMode::LUT; g_settings.cpu_fastmem_mode = CPUFastmemMode::LUT;
} }
// code compilation is too slow with runahead, use the recompiler
if (g_settings.IsRunaheadEnabled() && g_settings.IsUsingCodeCache())
{
Log_WarningPrintf("Code cache/recompiler disabled due to runahead");
g_settings.cpu_execution_mode = CPUExecutionMode::Interpreter;
}
if (g_settings.IsRunaheadEnabled() && g_settings.rewind_enable)
{
Log_WarningPrintf("Rewind disabled due to runahead being enabled");
g_settings.rewind_enable = false;
}
} }
void HostInterface::SaveSettings(SettingsInterface& si) void HostInterface::SaveSettings(SettingsInterface& si)