mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
HostInterface: Don't disable fastmem for runahead
This commit is contained in:
parent
25ea24853f
commit
fa9e50d7c1
|
@ -689,14 +689,6 @@ void HostInterface::FixIncompatibleSettings(bool display_osd_messages)
|
||||||
g_settings.rewind_enable = false;
|
g_settings.rewind_enable = false;
|
||||||
}
|
}
|
||||||
#endif
|
#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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void HostInterface::SaveSettings(SettingsInterface& si)
|
void HostInterface::SaveSettings(SettingsInterface& si)
|
||||||
|
|
Loading…
Reference in a new issue