summaryrefslogtreecommitdiffstats
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-01-13 18:04:27 +0100
committerGitHub <noreply@github.com>2017-01-13 18:04:27 +0100
commitba271f65698a322f6cb125ac11bcb4c8bda0068d (patch)
treee6c2ef23a944828bed5f433c47b93e9a4f8736e1 /src/citra/config.cpp
parentMerge pull request #2424 from Kloen/qt-ui-warnings-really (diff)
parentSDL2: Config.cpp fix double to float warning (diff)
downloadyuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.tar
yuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.tar.gz
yuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.tar.bz2
yuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.tar.lz
yuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.tar.xz
yuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.tar.zst
yuzu-ba271f65698a322f6cb125ac11bcb4c8bda0068d.zip
Diffstat (limited to 'src/citra/config.cpp')
-rw-r--r--src/citra/config.cpp3
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);