Merge branch 'master' of https://github.com/stenzek/duckstation
This commit is contained in:
commit
b967c36514
7 changed files with 73 additions and 56 deletions
|
|
@ -688,27 +688,6 @@ void HostInterface::FixIncompatibleSettings(bool display_osd_messages)
|
|||
g_settings.rewind_enable = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
// rewinding causes issues with mmap fastmem, so just use LUT
|
||||
if ((g_settings.rewind_enable || g_settings.IsRunaheadEnabled()) && g_settings.IsUsingFastmem() &&
|
||||
g_settings.cpu_fastmem_mode == CPUFastmemMode::MMap)
|
||||
{
|
||||
Log_WarningPrintf("Disabling mmap fastmem due to rewind being enabled");
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue