mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
HostInterface: Make mmap fastmem unavailable a warning instead of OSD message
This commit is contained in:
parent
977c2f4947
commit
a2666de7c8
|
@ -553,8 +553,7 @@ void HostInterface::FixIncompatibleSettings(bool display_osd_messages)
|
||||||
#ifndef WITH_MMAP_FASTMEM
|
#ifndef WITH_MMAP_FASTMEM
|
||||||
if (g_settings.cpu_fastmem_mode == CPUFastmemMode::MMap)
|
if (g_settings.cpu_fastmem_mode == CPUFastmemMode::MMap)
|
||||||
{
|
{
|
||||||
AddOSDMessage(
|
Log_WarningPrintf("mmap fastmem is not available on this platform, using LUT instead.");
|
||||||
TranslateStdString("OSDMessage", "mmap fastmem is not available on this platform, using LUT instead."), 20.0f);
|
|
||||||
g_settings.cpu_fastmem_mode = CPUFastmemMode::LUT;
|
g_settings.cpu_fastmem_mode = CPUFastmemMode::LUT;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue