diff options
author | bunnei <bunneidev@gmail.com> | 2016-12-30 05:28:27 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-01-07 09:23:22 +0100 |
commit | 22ad9094e6355e84f2e45abcd66748b2c74dfaf9 (patch) | |
tree | 1124bc25253f2c4f6adc7ec9a90aa9a3d2213ba6 /src/citra_qt/config.cpp | |
parent | Merge pull request #2410 from Subv/sleepthread (diff) | |
download | yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.tar yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.tar.gz yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.tar.bz2 yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.tar.lz yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.tar.xz yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.tar.zst yuzu-22ad9094e6355e84f2e45abcd66748b2c74dfaf9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/config.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp index c904c4b00..8021667d0 100644 --- a/src/citra_qt/config.cpp +++ b/src/citra_qt/config.cpp @@ -44,8 +44,7 @@ void Config::ReadValues() { qt_config->beginGroup("Renderer"); Settings::values.use_hw_renderer = qt_config->value("use_hw_renderer", true).toBool(); Settings::values.use_shader_jit = qt_config->value("use_shader_jit", true).toBool(); - Settings::values.use_scaled_resolution = - qt_config->value("use_scaled_resolution", false).toBool(); + Settings::values.resolution_factor = qt_config->value("resolution_factor", 1.0).toFloat(); Settings::values.use_vsync = qt_config->value("use_vsync", false).toBool(); Settings::values.toggle_framelimit = qt_config->value("toggle_framelimit", true).toBool(); @@ -152,7 +151,7 @@ void Config::SaveValues() { qt_config->beginGroup("Renderer"); qt_config->setValue("use_hw_renderer", Settings::values.use_hw_renderer); qt_config->setValue("use_shader_jit", Settings::values.use_shader_jit); - qt_config->setValue("use_scaled_resolution", Settings::values.use_scaled_resolution); + qt_config->setValue("resolution_factor", (double)Settings::values.resolution_factor); qt_config->setValue("use_vsync", Settings::values.use_vsync); qt_config->setValue("toggle_framelimit", Settings::values.toggle_framelimit); |