summaryrefslogtreecommitdiffstats
path: root/src/yuzu_tester
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-02-14 04:17:28 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-02-14 04:17:28 +0100
commit27e19f87c63437db641b736429ac3503160f21ae (patch)
tree42a00db2d3ef5e0878c486e5e09eafdba3347edb /src/yuzu_tester
parentMerge pull request #3405 from lioncash/thread (diff)
downloadyuzu-27e19f87c63437db641b736429ac3503160f21ae.tar
yuzu-27e19f87c63437db641b736429ac3503160f21ae.tar.gz
yuzu-27e19f87c63437db641b736429ac3503160f21ae.tar.bz2
yuzu-27e19f87c63437db641b736429ac3503160f21ae.tar.lz
yuzu-27e19f87c63437db641b736429ac3503160f21ae.tar.xz
yuzu-27e19f87c63437db641b736429ac3503160f21ae.tar.zst
yuzu-27e19f87c63437db641b736429ac3503160f21ae.zip
Diffstat (limited to 'src/yuzu_tester')
-rw-r--r--src/yuzu_tester/config.cpp2
-rw-r--r--src/yuzu_tester/default_ini.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu_tester/config.cpp b/src/yuzu_tester/config.cpp
index 84ab4d687..0ac93b62a 100644
--- a/src/yuzu_tester/config.cpp
+++ b/src/yuzu_tester/config.cpp
@@ -118,6 +118,8 @@ void Config::ReadValues() {
// Renderer
Settings::values.resolution_factor =
static_cast<float>(sdl2_config->GetReal("Renderer", "resolution_factor", 1.0));
+ Settings::values.aspect_ratio =
+ static_cast<int>(sdl2_config->GetInteger("Renderer", "aspect_ratio", 0));
Settings::values.use_frame_limit = false;
Settings::values.frame_limit = 100;
Settings::values.use_disk_shader_cache =
diff --git a/src/yuzu_tester/default_ini.h b/src/yuzu_tester/default_ini.h
index 9a3e86d68..676592db0 100644
--- a/src/yuzu_tester/default_ini.h
+++ b/src/yuzu_tester/default_ini.h
@@ -26,6 +26,10 @@ use_shader_jit =
# factor for the Switch resolution
resolution_factor =
+# Aspect ratio
+# 0: Default (16:9), 1: Force 21:9, 2: Stretch to Window
+aspect_ratio =
+
# Whether to enable V-Sync (caps the framerate at 60FPS) or not.
# 0 (default): Off, 1: On
use_vsync =