diff options
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() { | |||
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | bool IsFastmemEnabled() { | 95 | bool 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; |
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 { | |||
| 34 | Auto = 0, | 34 | Auto = 0, |
| 35 | Accurate = 1, | 35 | Accurate = 1, |
| 36 | Unsafe = 2, | 36 | Unsafe = 2, |
| 37 | DebugMode = 3, | ||
| 38 | }; | 37 | }; |
| 39 | 38 | ||
| 40 | /** The BasicSetting class is a simple resource manager. It defines a label and default value | 39 | /** The BasicSetting class is a simple resource manager. It defines a label and default value |
| @@ -288,6 +287,7 @@ struct Values { | |||
| 288 | Setting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, "cpu_accuracy"}; | 287 | Setting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, "cpu_accuracy"}; |
| 289 | // TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021 | 288 | // TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021 |
| 290 | BasicSetting<bool> cpu_accuracy_first_time{true, "cpu_accuracy_first_time"}; | 289 | BasicSetting<bool> cpu_accuracy_first_time{true, "cpu_accuracy_first_time"}; |
| 290 | BasicSetting<bool> cpu_debug_mode{false, "cpu_debug_mode"}; | ||
| 291 | 291 | ||
| 292 | BasicSetting<bool> cpuopt_page_tables{true, "cpuopt_page_tables"}; | 292 | BasicSetting<bool> cpuopt_page_tables{true, "cpuopt_page_tables"}; |
| 293 | BasicSetting<bool> cpuopt_block_linking{true, "cpuopt_block_linking"}; | 293 | BasicSetting<bool> cpuopt_block_linking{true, "cpuopt_block_linking"}; |