summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index c73d1c596..163900f0b 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
379enum class GPUAccuracy : u32 {
380 Normal = 0,
381 High = 1,
382 Extreme = 2,
383};
384
379struct Values { 385struct Values {
380 // System 386 // System
381 bool use_docked_mode; 387 bool use_docked_mode;
@@ -436,10 +442,11 @@ 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;
449 bool use_fast_gpu_time;
443 450
444 float bg_red; 451 float bg_red;
445 float bg_green; 452 float bg_green;
@@ -480,6 +487,9 @@ struct Values {
480 std::map<u64, std::vector<std::string>> disabled_addons; 487 std::map<u64, std::vector<std::string>> disabled_addons;
481} extern values; 488} extern values;
482 489
490bool IsGPULevelExtreme();
491bool IsGPULevelHigh();
492
483void Apply(); 493void Apply();
484void LogSettings(); 494void LogSettings();
485} // namespace Settings 495} // namespace Settings