diff options
| author | 2018-03-26 22:24:31 -0400 | |
|---|---|---|
| committer | 2018-03-26 23:02:35 -0400 | |
| commit | 12b05c719eac7ed289a1d3d2acfb94704326fac1 (patch) | |
| tree | bc325f8b272ee36157eb8f06c1fae89bb6d8151d /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #279 from bunnei/tegra-progress-3 (diff) | |
| download | yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.gz yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.tar.xz yuzu-12b05c719eac7ed289a1d3d2acfb94704326fac1.zip | |
config: Add setting for whether the system is docked or not.
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 3 |
1 files changed, 3 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() { | |||
| 107 | Settings::values.use_virtual_sd = | 107 | Settings::values.use_virtual_sd = |
| 108 | sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true); | 108 | sdl2_config->GetBoolean("Data Storage", "use_virtual_sd", true); |
| 109 | 109 | ||
| 110 | // System | ||
| 111 | Settings::values.is_docked = sdl2_config->GetBoolean("System", "is_docked", true); | ||
| 112 | |||
| 110 | // Miscellaneous | 113 | // Miscellaneous |
| 111 | Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace"); | 114 | Settings::values.log_filter = sdl2_config->Get("Miscellaneous", "log_filter", "*:Trace"); |
| 112 | 115 | ||