diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-03 02:54:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 02:54:57 +0200 |
commit | 8f43b05d6b1be260f68907c581b8e3a91cf244d8 (patch) | |
tree | be95158c22707e828cd57be90c68f9a1f683d3f1 /src/common | |
parent | Merge pull request #10133 from lat9nq/clang-shadow-and-fallthrough (diff) | |
parent | vk_present_manager: Add toggle for async presentation (diff) | |
download | yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.tar yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.tar.gz yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.tar.bz2 yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.tar.lz yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.tar.xz yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.tar.zst yuzu-8f43b05d6b1be260f68907c581b8e3a91cf244d8.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 84955030b..77ff21128 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -205,6 +205,7 @@ void RestoreGlobalState(bool is_powered_on) { // Renderer values.fsr_sharpening_slider.SetGlobal(true); values.renderer_backend.SetGlobal(true); + values.async_presentation.SetGlobal(true); values.renderer_force_max_clock.SetGlobal(true); values.vulkan_device.SetGlobal(true); values.fullscreen_mode.SetGlobal(true); diff --git a/src/common/settings.h b/src/common/settings.h index b77a1580a..5379d0dd5 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -422,6 +422,7 @@ struct Values { // Renderer SwitchableSetting<RendererBackend, true> renderer_backend{ RendererBackend::Vulkan, RendererBackend::OpenGL, RendererBackend::Null, "backend"}; + SwitchableSetting<bool> async_presentation{false, "async_presentation"}; SwitchableSetting<bool> renderer_force_max_clock{false, "force_max_clock"}; Setting<bool> renderer_debug{false, "debug"}; Setting<bool> renderer_shader_feedback{false, "shader_feedback"}; |