summaryrefslogtreecommitdiffstats
path: root/src/citra
diff options
context:
space:
mode:
authortfarley <tfarleygithub@gmail.com>2016-04-17 00:51:49 +0200
committertfarley <tfarleygithub@gmail.com>2016-04-21 23:27:48 +0200
commite46d086189908ce9b9d7d68e3e4453396e48c7cc (patch)
tree69a8c70d12d088fa59f49891c91de6f16a1d4ca9 /src/citra
parentUpdate to ext-boost with interval_map (diff)
downloadyuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.tar
yuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.tar.gz
yuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.tar.bz2
yuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.tar.lz
yuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.tar.xz
yuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.tar.zst
yuzu-e46d086189908ce9b9d7d68e3e4453396e48c7cc.zip
Diffstat (limited to 'src/citra')
-rw-r--r--src/citra/config.cpp1
-rw-r--r--src/citra/default_ini.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index 6b6617352..9e2ecd307 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -65,6 +65,7 @@ void Config::ReadValues() {
// Renderer
Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", false);
Settings::values.use_shader_jit = sdl2_config->GetBoolean("Renderer", "use_shader_jit", true);
+ Settings::values.use_scaled_resolution = sdl2_config->GetBoolean("Renderer", "use_scaled_resolution", false);
Settings::values.bg_red = (float)sdl2_config->GetReal("Renderer", "bg_red", 1.0);
Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 1.0);
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h
index c9b490a00..1f1aa716b 100644
--- a/src/citra/default_ini.h
+++ b/src/citra/default_ini.h
@@ -46,6 +46,10 @@ use_hw_renderer =
# 0 : Interpreter (slow), 1 (default): JIT (fast)
use_shader_jit =
+# Whether to use native 3DS screen resolution or to scale rendering resolution to the displayed screen size.
+# 0 (default): Native, 1: Scaled
+use_scaled_resolution =
+
# The clear color for the renderer. What shows up on the sides of the bottom screen.
# Must be in range of 0.0-1.0. Defaults to 1.0 for all.
bg_red =