android: settings: Fix bug where changing speed limiter will slow game down.
This commit is contained in:
parent
c8a50ba84f
commit
4f4bcb8b22
@ -104,7 +104,7 @@ void Config::ReadValues() {
|
||||
Settings::values.vsync_enabled = sdl2_config->GetBoolean("Renderer", "vsync_enabled", false);
|
||||
Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true);
|
||||
Settings::values.frame_limit =
|
||||
static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100));
|
||||
static_cast<u16>(sdl2_config->GetReal("Renderer", "frame_limit", 1.0) * 100.0);
|
||||
|
||||
Settings::values.render_3d = static_cast<Settings::StereoRenderOption>(
|
||||
sdl2_config->GetInteger("Renderer", "render_3d", 0));
|
||||
|
@ -125,8 +125,8 @@ vsync_enabled =
|
||||
# 0: Off, 1: On (default)
|
||||
use_frame_limit =
|
||||
|
||||
# Limits the speed of the game to run no faster than this value as a percentage of target speed
|
||||
# 1 - 9999: Speed limit as a percentage of target game speed. 100 (default)
|
||||
# Limits the speed of the game to run no faster than this value as a multiplier of target speed
|
||||
# 0.0 - 10.0: Speed limit as a multiplier of target game speed. 1.0 (default)
|
||||
frame_limit =
|
||||
|
||||
# The clear color for the renderer. What shows up on the sides of the bottom screen.
|
||||
|
Loading…
x
Reference in New Issue
Block a user