diff options
author | Liam <byteslice@airmail.cc> | 2023-01-05 02:53:08 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-01-05 04:22:01 +0100 |
commit | a4269c285a07f6fbf6d270951d1c21559d37ae5b (patch) | |
tree | 5fd22ef4f797fdb2f89ce13009922934139631dc /src/common | |
parent | vulkan: implement 'turbo mode' clock booster (diff) | |
download | yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.tar yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.tar.gz yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.tar.bz2 yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.tar.lz yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.tar.xz yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.tar.zst yuzu-a4269c285a07f6fbf6d270951d1c21559d37ae5b.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/settings.cpp | 1 | ||||
-rw-r--r-- | src/common/settings.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 149e621f9..34083e8af 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -185,6 +185,7 @@ void RestoreGlobalState(bool is_powered_on) { // Renderer values.fsr_sharpening_slider.SetGlobal(true); values.renderer_backend.SetGlobal(true); + values.renderer_force_max_clock.SetGlobal(true); values.vulkan_device.SetGlobal(true); values.aspect_ratio.SetGlobal(true); values.max_anisotropy.SetGlobal(true); diff --git a/src/common/settings.h b/src/common/settings.h index 5017951c5..cf6895fb3 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -415,6 +415,7 @@ struct Values { // Renderer SwitchableSetting<RendererBackend, true> renderer_backend{ RendererBackend::Vulkan, RendererBackend::OpenGL, RendererBackend::Null, "backend"}; + SwitchableSetting<bool> renderer_force_max_clock{true, "force_max_clock"}; Setting<bool> renderer_debug{false, "debug"}; Setting<bool> renderer_shader_feedback{false, "shader_feedback"}; Setting<bool> enable_nsight_aftermath{false, "nsight_aftermath"}; |