diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 22:56:44 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 22:56:44 +0200 |
commit | dc06e11a7ba24c6052cad2c45584c628a8188274 (patch) | |
tree | c8697be31d6578fd490e7623e664a3d17943adfb /src/common | |
parent | arm_dynarmic_64: Re-add fastmem_address_space_bits to Auto setting (diff) | |
download | yuzu-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/common')
-rw-r--r-- | src/common/settings.cpp | 2 | ||||
-rw-r--r-- | src/common/settings.h | 2 |
2 files changed, 2 insertions, 2 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() { } bool IsFastmemEnabled() { - if (values.cpu_accuracy.GetValue() == CPUAccuracy::DebugMode) { + if (values.cpu_debug_mode) { return static_cast<bool>(values.cpuopt_fastmem); } return true; diff --git a/src/common/settings.h b/src/common/settings.h index 9f7e1096b..d2e91a2c9 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -34,7 +34,6 @@ enum class CPUAccuracy : u32 { Auto = 0, Accurate = 1, Unsafe = 2, - DebugMode = 3, }; /** The BasicSetting class is a simple resource manager. It defines a label and default value @@ -288,6 +287,7 @@ struct Values { Setting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, "cpu_accuracy"}; // TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021 BasicSetting<bool> cpu_accuracy_first_time{true, "cpu_accuracy_first_time"}; + BasicSetting<bool> cpu_debug_mode{false, "cpu_debug_mode"}; BasicSetting<bool> cpuopt_page_tables{true, "cpuopt_page_tables"}; BasicSetting<bool> cpuopt_block_linking{true, "cpuopt_block_linking"}; |