mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-01-08 08:00:39 +01:00
Store frame_limit
config value as a double
This allows fractional values to be used for the game speed
This commit is contained in:
parent
9298e1d237
commit
3188aa489f
@ -477,7 +477,7 @@ struct Values {
|
|||||||
SwitchableSetting<bool> use_vsync_new{true, "use_vsync_new"};
|
SwitchableSetting<bool> use_vsync_new{true, "use_vsync_new"};
|
||||||
Setting<bool> use_shader_jit{true, "use_shader_jit"};
|
Setting<bool> use_shader_jit{true, "use_shader_jit"};
|
||||||
SwitchableSetting<u32, true> resolution_factor{1, 0, 10, "resolution_factor"};
|
SwitchableSetting<u32, true> resolution_factor{1, 0, 10, "resolution_factor"};
|
||||||
SwitchableSetting<u16, true> frame_limit{100, 0, 1000, "frame_limit"};
|
SwitchableSetting<double, true> frame_limit{100, 0, 1000, "frame_limit"};
|
||||||
SwitchableSetting<TextureFilter> texture_filter{TextureFilter::None, "texture_filter"};
|
SwitchableSetting<TextureFilter> texture_filter{TextureFilter::None, "texture_filter"};
|
||||||
SwitchableSetting<TextureSampling> texture_sampling{TextureSampling::GameControlled,
|
SwitchableSetting<TextureSampling> texture_sampling{TextureSampling::GameControlled,
|
||||||
"texture_sampling"};
|
"texture_sampling"};
|
||||||
|
Loading…
Reference in New Issue
Block a user