mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
Small correction to conditional in frame_time
This commit is contained in:
parent
64b535872d
commit
5057eda902
@ -2537,7 +2537,7 @@ static inline void limit_frame_time(void)
|
|||||||
retro_time_t target = 0, to_sleep_ms = 0;
|
retro_time_t target = 0, to_sleep_ms = 0;
|
||||||
|
|
||||||
ffr = g_settings.fastforward_ratio;
|
ffr = g_settings.fastforward_ratio;
|
||||||
if (ffr < 0.0)
|
if (ffr <= 0.0)
|
||||||
ffr = -1.0;
|
ffr = -1.0;
|
||||||
effective_fps = (g_extern.system.av_info.timing.fps * ffr);
|
effective_fps = (g_extern.system.av_info.timing.fps * ffr);
|
||||||
mft_f = 1000000.0f / effective_fps;
|
mft_f = 1000000.0f / effective_fps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user