summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2021-07-08 16:56:44 -0400
committerGravatar lat9nq2021-07-08 16:56:44 -0400
commitdc06e11a7ba24c6052cad2c45584c628a8188274 (patch)
treec8697be31d6578fd490e7623e664a3d17943adfb /src/common/settings.cpp
parentarm_dynarmic_64: Re-add fastmem_address_space_bits to Auto setting (diff)
downloadyuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.gz
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.xz
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.zip
settings, arm_dynarmic, yuzu qt: Move CPU debugging option
Decouples the CPU debugging mode from the enumeration to its own boolean. After this, it moves the CPU Debugging tab over to a sub tab underneath the Debug tab in the configuration UI.
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 0061e29cc..e1973af85 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -93,7 +93,7 @@ bool IsGPULevelHigh() {
93} 93}
94 94
95bool IsFastmemEnabled() { 95bool IsFastmemEnabled() {
96 if (values.cpu_accuracy.GetValue() == CPUAccuracy::DebugMode) { 96 if (values.cpu_debug_mode) {
97 return static_cast<bool>(values.cpuopt_fastmem); 97 return static_cast<bool>(values.cpuopt_fastmem);
98 } 98 }
99 return true; 99 return true;