diff options
| author | 2016-05-03 00:07:17 -0600 | |
|---|---|---|
| committer | 2016-11-05 02:55:41 -0600 | |
| commit | 2b1654ad9bbd8af53f22434d350704a1a1d0a285 (patch) | |
| tree | 0da3cc7a1c622c1a659f4b2a8c5c08984dabd5c3 /src/citra/config.cpp | |
| parent | Update CONTRIBUTING.md (diff) | |
| download | yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.gz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.tar.xz yuzu-2b1654ad9bbd8af53f22434d350704a1a1d0a285.zip | |
Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
Diffstat (limited to 'src/citra/config.cpp')
| -rw-r--r-- | src/citra/config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index 05eabfa3d..305e3ba53 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp | |||
| @@ -72,6 +72,10 @@ void Config::ReadValues() { | |||
| 72 | Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 1.0); | 72 | Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 1.0); |
| 73 | Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 1.0); | 73 | Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 1.0); |
| 74 | 74 | ||
| 75 | // Layout | ||
| 76 | Settings::values.layout_option = static_cast<Settings::LayoutOption>(sdl2_config->GetInteger("Layout", "layout_option", 0)); | ||
| 77 | Settings::values.swap_screen = sdl2_config->GetBoolean("Layout", "swap_screen", false); | ||
| 78 | |||
| 75 | // Audio | 79 | // Audio |
| 76 | Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto"); | 80 | Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto"); |
| 77 | Settings::values.enable_audio_stretching = | 81 | Settings::values.enable_audio_stretching = |