diff options
author | Kloen <kloen@outlawkiwi.com> | 2017-01-11 13:32:02 +0100 |
---|---|---|
committer | Kloen <kloen@outlawkiwi.com> | 2017-01-11 13:32:02 +0100 |
commit | a851aa4cf10aa352632cdca741acfa62b24d7b18 (patch) | |
tree | 45515ccfe428d26dc260a654957269f4f0bb08bf /src/citra | |
parent | Merge pull request #2397 from Subv/pulse (diff) | |
download | yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.tar yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.tar.gz yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.tar.bz2 yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.tar.lz yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.tar.xz yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.tar.zst yuzu-a851aa4cf10aa352632cdca741acfa62b24d7b18.zip |
Diffstat (limited to 'src/citra')
-rw-r--r-- | src/citra/config.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index bd8ac563b..1d0faf193 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp @@ -63,7 +63,8 @@ void Config::ReadValues() { // Renderer Settings::values.use_hw_renderer = sdl2_config->GetBoolean("Renderer", "use_hw_renderer", true); Settings::values.use_shader_jit = sdl2_config->GetBoolean("Renderer", "use_shader_jit", true); - Settings::values.resolution_factor = sdl2_config->GetReal("Renderer", "resolution_factor", 1.0); + Settings::values.resolution_factor = + (float)sdl2_config->GetReal("Renderer", "resolution_factor", 1.0); Settings::values.use_vsync = sdl2_config->GetBoolean("Renderer", "use_vsync", false); Settings::values.toggle_framelimit = sdl2_config->GetBoolean("Renderer", "toggle_framelimit", true); |