yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

SDL2: Config.cpp fix double to float warning

This commit is contained in:
Kloen 2017-01-11 13:32:02 +01:00
parent 84d72fd92f
commit a851aa4cf1
1 changed files with 2 additions and 1 deletions

View File

@ -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);