HostInterface: Don't disable fastmem for runahead

This commit is contained in:
Connor McLaughlin 2021-12-05 00:02:08 +10:00
parent 25ea24853f
commit fa9e50d7c1

View file

@ -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)