From 0a2facfaeb1f0cf5411005fbfaa12f4c41e99051 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 3 Dec 2024 16:54:40 +1000 Subject: [PATCH] Settings: Don't enable fastmem without recompiler Don't need to bother allocating memory otherwise. --- src/core/settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index ef2cf778e..8b46de696 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -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)