Settings: Don't enable fastmem without recompiler

Don't need to bother allocating memory otherwise.
This commit is contained in:
Stenzek 2024-12-03 16:54:40 +10:00
parent d3ceda0c5b
commit 0a2facfaeb
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -1012,6 +1012,10 @@ void Settings::FixIncompatibleSettings(bool display_osd_messages)
}
#endif
// fastmem should be off if we're not using the intepreter, save the allocation
if (g_settings.cpu_execution_mode != CPUExecutionMode::Recompiler)
g_settings.cpu_fastmem_mode = CPUFastmemMode::Disabled;
if (g_settings.IsRunaheadEnabled() && g_settings.rewind_enable)
{
if (display_osd_messages)