summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-08 22:56:44 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-08 22:56:44 +0200
commitdc06e11a7ba24c6052cad2c45584c628a8188274 (patch)
treec8697be31d6578fd490e7623e664a3d17943adfb /src/core/arm
parentarm_dynarmic_64: Re-add fastmem_address_space_bits to Auto setting (diff)
downloadyuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.gz
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.bz2
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.lz
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.xz
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.tar.zst
yuzu-dc06e11a7ba24c6052cad2c45584c628a8188274.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp2
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp2
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*
config.far_code_offset = 400_MiB;
// Safe optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::DebugMode) {
+ if (Settings::values.cpu_debug_mode) {
if (!Settings::values.cpuopt_page_tables) {
config.page_table = nullptr;
}
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*
config.far_code_offset = 400_MiB;
// Safe optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::DebugMode) {
+ if (Settings::values.cpu_debug_mode) {
if (!Settings::values.cpuopt_page_tables) {
config.page_table = nullptr;
}