Files
VVVVVV/desktop_version/src
Misa 6930bde91b Use variable timestep for SDL_Delay
This fixes a bug where fast-forward wouldn't work in 30-FPS-only mode.

This is because the 30-FPS-only code has a hardcoded check for the
number 34, as in 34 milliseconds must pass before the next frame can
advance. This is why slowdown still worked, because slowdown means
you're waiting longer than 34 ms anyways, but fast-forward tries to wait
for only 1 ms, which wouldn't work if the 34 limit was still enforced.

So instead, swap out the 34 with game.get_timestep() and this will be
fixed.

Fixes #1185.
2024-07-20 18:40:16 -07:00
..
2024-01-09 15:48:41 -08:00
2024-01-09 15:48:41 -08:00
2024-06-09 19:41:48 -07:00
2021-12-18 00:01:32 -08:00
2021-09-27 10:32:23 -07:00
2024-03-29 20:22:00 -07:00
2024-02-02 18:57:24 -08:00
2024-02-03 18:11:11 -08:00
2024-01-09 15:48:41 -08:00
2024-01-09 15:48:41 -08:00
2024-02-03 18:11:11 -08:00
2022-12-31 20:04:56 -08:00
2022-03-13 23:50:37 -07:00
2024-07-20 18:40:16 -07:00
2024-01-09 13:13:04 -08:00
2024-01-09 13:13:04 -08:00
2024-07-13 13:11:05 -07:00
2023-06-08 15:38:26 -07:00
2024-01-08 19:17:44 -08:00
2024-03-29 21:18:39 -07:00
2024-02-03 18:11:11 -08:00
2023-11-30 08:38:40 -08:00
2024-01-09 15:48:41 -08:00
2023-11-27 12:09:42 -05:00
2022-12-31 20:04:56 -08:00
2021-09-24 16:37:27 -07:00
2022-12-29 16:13:54 -08:00
2023-02-27 23:00:41 -08:00
2023-02-27 23:00:41 -08:00
2023-03-21 19:59:48 -07:00
2022-11-14 19:40:23 -08:00
2020-11-04 12:06:57 -05:00
2023-11-27 12:09:42 -05:00