From eec37df1e08e5da9ff549790b2597f8e5c4b6a6a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 24 Jun 2020 01:39:42 +1000 Subject: [PATCH] Settings: Make the recompiler the default CPU mode --- src/core/host_interface.cpp | 2 +- src/core/settings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index 855cd8781..8ab19fd40 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -330,7 +330,7 @@ void HostInterface::SetDefaultSettings(SettingsInterface& si) si.SetBoolValue("Main", "SaveStateOnExit", true); si.SetBoolValue("Main", "ConfirmPowerOff", true); - si.SetStringValue("CPU", "ExecutionMode", Settings::GetCPUExecutionModeName(CPUExecutionMode::Interpreter)); + si.SetStringValue("CPU", "ExecutionMode", Settings::GetCPUExecutionModeName(CPUExecutionMode::Recompiler)); si.SetStringValue("GPU", "Renderer", Settings::GetRendererName(Settings::DEFAULT_GPU_RENDERER)); si.SetIntValue("GPU", "ResolutionScale", 1); diff --git a/src/core/settings.cpp b/src/core/settings.cpp index ce2187678..ace6d7092 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -26,7 +26,7 @@ void Settings::Load(SettingsInterface& si) save_state_on_exit = si.GetBoolValue("Main", "SaveStateOnExit", true); confim_power_off = si.GetBoolValue("Main", "ConfirmPowerOff", true); - cpu_execution_mode = ParseCPUExecutionMode(si.GetStringValue("CPU", "ExecutionMode", "Interpreter").c_str()) + cpu_execution_mode = ParseCPUExecutionMode(si.GetStringValue("CPU", "ExecutionMode", "Recompiler").c_str()) .value_or(CPUExecutionMode::Interpreter); gpu_renderer = ParseRendererName(si.GetStringValue("GPU", "Renderer", GetRendererName(DEFAULT_GPU_RENDERER)).c_str())