diff options
| author | 2016-11-15 19:57:08 -0500 | |
|---|---|---|
| committer | 2016-11-15 19:57:08 -0500 | |
| commit | 5a31552764dc8970253e642f4b829a8b785375c6 (patch) | |
| tree | 8186a82c37ae04c17bd1d6250c524fc097f9671c /src/citra/config.cpp | |
| parent | Merge pull request #2171 from jroweboy/fix-mac-build (diff) | |
| parent | Round the rectangle size to prevent float to int casting issues (diff) | |
| download | yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.gz yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.xz yuzu-5a31552764dc8970253e642f4b829a8b785375c6.zip | |
Merge pull request #1753 from jroweboy/frame_layouts
Support additional screen layouts.
Diffstat (limited to 'src/citra/config.cpp')
| -rw-r--r-- | src/citra/config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index 05eabfa3d..fd30bfc85 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp | |||
| @@ -72,6 +72,11 @@ 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 = | ||
| 77 | static_cast<Settings::LayoutOption>(sdl2_config->GetInteger("Layout", "layout_option", 0)); | ||
| 78 | Settings::values.swap_screen = sdl2_config->GetBoolean("Layout", "swap_screen", false); | ||
| 79 | |||
| 75 | // Audio | 80 | // Audio |
| 76 | Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto"); | 81 | Settings::values.sink_id = sdl2_config->Get("Audio", "output_engine", "auto"); |
| 77 | Settings::values.enable_audio_stretching = | 82 | Settings::values.enable_audio_stretching = |