From 3188aa489ff3a133a9dac5e3dbc97a65631fa64b Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Thu, 22 Aug 2024 00:29:43 +0100 Subject: [PATCH] Store `frame_limit` config value as a double This allows fractional values to be used for the game speed --- src/common/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/settings.h b/src/common/settings.h index 7e2518b75..a7991514c 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -477,7 +477,7 @@ struct Values { SwitchableSetting use_vsync_new{true, "use_vsync_new"}; Setting use_shader_jit{true, "use_shader_jit"}; SwitchableSetting resolution_factor{1, 0, 10, "resolution_factor"}; - SwitchableSetting frame_limit{100, 0, 1000, "frame_limit"}; + SwitchableSetting frame_limit{100, 0, 1000, "frame_limit"}; SwitchableSetting texture_filter{TextureFilter::None, "texture_filter"}; SwitchableSetting texture_sampling{TextureSampling::GameControlled, "texture_sampling"};