summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-14 04:06:11 +0100
committerbunnei <bunneidev@gmail.com>2020-02-26 02:57:02 +0100
commit571451bdfe18e9e53af3fa458f18a3192094eebe (patch)
tree7fe1331c3011b6e912fdf3d17f99944d418df2fd /src/yuzu_cmd/config.cpp
parentMerge pull request #3461 from ReinUsesLisp/r32i-rt (diff)
downloadyuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.gz
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.bz2
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.lz
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.xz
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.zst
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.zip
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
-rw-r--r--src/yuzu_cmd/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 96f1ce3af..b77c12baf 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -390,6 +390,8 @@ void Config::ReadValues() {
sdl2_config->GetBoolean("Renderer", "use_accurate_gpu_emulation", false);
Settings::values.use_asynchronous_gpu_emulation =
sdl2_config->GetBoolean("Renderer", "use_asynchronous_gpu_emulation", false);
+ Settings::values.use_vsync =
+ static_cast<u16>(sdl2_config->GetInteger("Renderer", "use_vsync", 1));
Settings::values.bg_red = static_cast<float>(sdl2_config->GetReal("Renderer", "bg_red", 0.0));
Settings::values.bg_green =