diff options
author | bunnei <bunneidev@gmail.com> | 2016-11-16 01:57:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 01:57:08 +0100 |
commit | 5a31552764dc8970253e642f4b829a8b785375c6 (patch) | |
tree | 8186a82c37ae04c17bd1d6250c524fc097f9671c /src/citra_qt/configure_graphics.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 yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.gz yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.bz2 yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.lz yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.xz yuzu-5a31552764dc8970253e642f4b829a8b785375c6.tar.zst yuzu-5a31552764dc8970253e642f4b829a8b785375c6.zip |
Diffstat (limited to 'src/citra_qt/configure_graphics.cpp')
-rw-r--r-- | src/citra_qt/configure_graphics.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra_qt/configure_graphics.cpp b/src/citra_qt/configure_graphics.cpp index 19c1f75c2..29834e11b 100644 --- a/src/citra_qt/configure_graphics.cpp +++ b/src/citra_qt/configure_graphics.cpp @@ -23,6 +23,8 @@ void ConfigureGraphics::setConfiguration() { ui->toggle_shader_jit->setChecked(Settings::values.use_shader_jit); ui->toggle_scaled_resolution->setChecked(Settings::values.use_scaled_resolution); ui->toggle_vsync->setChecked(Settings::values.use_vsync); + ui->layout_combobox->setCurrentIndex(static_cast<int>(Settings::values.layout_option)); + ui->swap_screen->setChecked(Settings::values.swap_screen); } void ConfigureGraphics::applyConfiguration() { @@ -30,5 +32,8 @@ void ConfigureGraphics::applyConfiguration() { Settings::values.use_shader_jit = ui->toggle_shader_jit->isChecked(); Settings::values.use_scaled_resolution = ui->toggle_scaled_resolution->isChecked(); Settings::values.use_vsync = ui->toggle_vsync->isChecked(); + Settings::values.layout_option = + static_cast<Settings::LayoutOption>(ui->layout_combobox->currentIndex()); + Settings::values.swap_screen = ui->swap_screen->isChecked(); Settings::Apply(); } |