summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-27 04:24:31 +0200
committerbunnei <bunneidev@gmail.com>2018-03-27 05:02:35 +0200
commit12b05c719eac7ed289a1d3d2acfb94704326fac1 (patch)
treebc325f8b272ee36157eb8f06c1fae89bb6d8151d /src/yuzu_cmd
parentMerge pull request #279 from bunnei/tegra-progress-3 (diff)
downloadyuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar
yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.gz
yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.bz2
yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.lz
yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.xz
yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.zst
yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/config.cpp3
-rw-r--r--src/yuzu_cmd/default_ini.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 342ad3850..38f76d425 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -107,6 +107,9 @@ void Config::ReadValues() {
Settings::values.use_virtual_sd =
sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true);
+ // System
+ Settings::values.is_docked = sdl2_config->GetBoolean("System", "is_docked", true);
+
// Miscellaneous
Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace");
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index fe104fb81..50802104c 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -154,6 +154,10 @@ output_device =
use_virtual_sd =
[System]
+# Whether the system is docked
+# 1 (default): Yes, 0: No
+is_docked =
+
# The system region that Citra will use during emulation
# -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
region_value =