diff options
| author | 2021-07-08 16:56:44 -0400 | |
|---|---|---|
| committer | 2021-07-08 16:56:44 -0400 | |
| commit | dc06e11a7ba24c6052cad2c45584c628a8188274 (patch) | |
| tree | c8697be31d6578fd490e7623e664a3d17943adfb /src/core | |
| parent | arm_dynarmic_64: Re-add fastmem_address_space_bits to Auto setting (diff) | |
| download | yuzu-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/core')
| -rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 2 | ||||
| -rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_64.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index c915bed2e..b0d89c539 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp | |||
| @@ -150,7 +150,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable* | |||
| 150 | config.far_code_offset = 400_MiB; | 150 | config.far_code_offset = 400_MiB; |
| 151 | 151 | ||
| 152 | // Safe optimizations | 152 | // Safe optimizations |
| 153 | if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::DebugMode) { | 153 | if (Settings::values.cpu_debug_mode) { |
| 154 | if (!Settings::values.cpuopt_page_tables) { | 154 | if (!Settings::values.cpuopt_page_tables) { |
| 155 | config.page_table = nullptr; | 155 | config.page_table = nullptr; |
| 156 | } | 156 | } |
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp index 9c203e4d6..bf27ffe71 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp | |||
| @@ -190,7 +190,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable* | |||
| 190 | config.far_code_offset = 400_MiB; | 190 | config.far_code_offset = 400_MiB; |
| 191 | 191 | ||
| 192 | // Safe optimizations | 192 | // Safe optimizations |
| 193 | if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::DebugMode) { | 193 | if (Settings::values.cpu_debug_mode) { |
| 194 | if (!Settings::values.cpuopt_page_tables) { | 194 | if (!Settings::values.cpuopt_page_tables) { |
| 195 | config.page_table = nullptr; | 195 | config.page_table = nullptr; |
| 196 | } | 196 | } |