From 3e5306e347d7b84b85899d98ab864c66455bf82f 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 d8472bc80..b7fa7881f 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -479,7 +479,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"};