HostInterface: Make mmap fastmem unavailable a warning instead of OSD message

This commit is contained in:
Connor McLaughlin 2020-12-01 13:23:02 +10:00
parent 977c2f4947
commit a2666de7c8

View file

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