diff options
Diffstat (limited to 'src/core/settings.h')
| -rw-r--r-- | src/core/settings.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 79ec01731..7d09253f5 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -376,6 +376,12 @@ enum class RendererBackend { | |||
| 376 | Vulkan = 1, | 376 | Vulkan = 1, |
| 377 | }; | 377 | }; |
| 378 | 378 | ||
| 379 | enum class GPUAccuracy : u32 { | ||
| 380 | Normal = 0, | ||
| 381 | High = 1, | ||
| 382 | Extreme = 2, | ||
| 383 | }; | ||
| 384 | |||
| 379 | struct Values { | 385 | struct Values { |
| 380 | // System | 386 | // System |
| 381 | bool use_docked_mode; | 387 | bool use_docked_mode; |
| @@ -436,7 +442,7 @@ struct Values { | |||
| 436 | bool use_frame_limit; | 442 | bool use_frame_limit; |
| 437 | u16 frame_limit; | 443 | u16 frame_limit; |
| 438 | bool use_disk_shader_cache; | 444 | bool use_disk_shader_cache; |
| 439 | bool use_accurate_gpu_emulation; | 445 | GPUAccuracy gpu_accuracy; |
| 440 | bool use_asynchronous_gpu_emulation; | 446 | bool use_asynchronous_gpu_emulation; |
| 441 | bool use_vsync; | 447 | bool use_vsync; |
| 442 | bool force_30fps_mode; | 448 | bool force_30fps_mode; |
| @@ -464,6 +470,7 @@ struct Values { | |||
| 464 | bool dump_nso; | 470 | bool dump_nso; |
| 465 | bool reporting_services; | 471 | bool reporting_services; |
| 466 | bool quest_flag; | 472 | bool quest_flag; |
| 473 | bool disable_cpu_opt; | ||
| 467 | 474 | ||
| 468 | // BCAT | 475 | // BCAT |
| 469 | std::string bcat_backend; | 476 | std::string bcat_backend; |
| @@ -479,6 +486,9 @@ struct Values { | |||
| 479 | std::map<u64, std::vector<std::string>> disabled_addons; | 486 | std::map<u64, std::vector<std::string>> disabled_addons; |
| 480 | } extern values; | 487 | } extern values; |
| 481 | 488 | ||
| 489 | bool IsGPULevelExtreme(); | ||
| 490 | bool IsGPULevelHigh(); | ||
| 491 | |||
| 482 | void Apply(); | 492 | void Apply(); |
| 483 | void LogSettings(); | 493 | void LogSettings(); |
| 484 | } // namespace Settings | 494 | } // namespace Settings |