summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-05-01 22:12:28 +0200
committerGPUCode <geoster3d@gmail.com>2023-05-01 22:13:24 +0200
commitf403d2794187bd136fb4d30fb7a6aea950145013 (patch)
tree0e78d295ae6cbe48dc5ab76b96424044e90dad5b /src/common
parentvk_blit_screen: Recreate FSR when frame is recreated (diff)
downloadyuzu-f403d2794187bd136fb4d30fb7a6aea950145013.tar
yuzu-f403d2794187bd136fb4d30fb7a6aea950145013.tar.gz
yuzu-f403d2794187bd136fb4d30fb7a6aea950145013.tar.bz2
yuzu-f403d2794187bd136fb4d30fb7a6aea950145013.tar.lz
yuzu-f403d2794187bd136fb4d30fb7a6aea950145013.tar.xz
yuzu-f403d2794187bd136fb4d30fb7a6aea950145013.tar.zst
yuzu-f403d2794187bd136fb4d30fb7a6aea950145013.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h1
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"};