viti95 / FastDoom

Doom port for DOS, optimized to be as fast as possible!
528 stars 33 forks source link

Fix issue when fps is higher than FPS_MAX and SUB_FRAME_FPS is enabled #212

Closed tigrouind closed 2 months ago

tigrouind commented 2 months ago

Summary : when SUB_FRAME_FPS is enabled and fps is higher than FPS_MAX, fps is no more calculated correctly (usually it become 0). The is issue was already spotted in this PR but it get merged a little too early (and was not included).

Note : after this fix, fps displayed will be max FPS_MAX-1, 255 with current settings.