diff options
| author | 2020-07-11 16:25:49 +0100 | |
|---|---|---|
| committer | 2020-07-11 16:38:38 +0100 | |
| commit | 505aa3a4c1eb2384ab5a46aecf6431db239b74e3 (patch) | |
| tree | 8576d3b825f7cd85122b857f5b10c6f9eae1b87e /src/core/settings.h | |
| parent | configuration: Add settings to enable/disable specific CPU optimizations (diff) | |
| download | yuzu-505aa3a4c1eb2384ab5a46aecf6431db239b74e3.tar.gz yuzu-505aa3a4c1eb2384ab5a46aecf6431db239b74e3.tar.xz yuzu-505aa3a4c1eb2384ab5a46aecf6431db239b74e3.zip | |
configure_cpu: Show/Hide debugging options
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index c081c083f..b3451a704 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -382,6 +382,11 @@ enum class GPUAccuracy : u32 { | |||
| 382 | Extreme = 2, | 382 | Extreme = 2, |
| 383 | }; | 383 | }; |
| 384 | 384 | ||
| 385 | enum class CPUAccuracy { | ||
| 386 | Accurate = 0, | ||
| 387 | DebugMode = 1, | ||
| 388 | }; | ||
| 389 | |||
| 385 | extern bool configuring_global; | 390 | extern bool configuring_global; |
| 386 | 391 | ||
| 387 | template <typename Type> | 392 | template <typename Type> |
| @@ -428,6 +433,8 @@ struct Values { | |||
| 428 | Setting<bool> use_multi_core; | 433 | Setting<bool> use_multi_core; |
| 429 | 434 | ||
| 430 | // Cpu | 435 | // Cpu |
| 436 | CPUAccuracy cpu_accuracy; | ||
| 437 | |||
| 431 | bool cpuopt_page_tables; | 438 | bool cpuopt_page_tables; |
| 432 | bool cpuopt_block_linking; | 439 | bool cpuopt_block_linking; |
| 433 | bool cpuopt_return_stack_buffer; | 440 | bool cpuopt_return_stack_buffer; |