Skip to content

Commit

Permalink
fix skip key
Browse files Browse the repository at this point in the history
  • Loading branch information
xesf committed Nov 3, 2024
1 parent eb126ed commit dccfc79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/system_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ inline void system_delay(u32 ms) {

void system_delay_events(system_t *system, u32 ms) {
u32 start = system_tick();
memset(&system->actions, false, sizeof(system->actions));
while (system_tick() - start < ms) {
if (system->actions[ACTION_SKIP] || system->quit) {
break;
Expand Down

0 comments on commit dccfc79

Please # to comment.