This commit is contained in:
veclavtalica
2025-01-30 05:10:38 +03:00
parent 74d7190c62
commit 7074e7499a
5 changed files with 13 additions and 5 deletions

View File

@ -2,6 +2,7 @@
#include "twn_engine_context_c.h"
#include <SDL2/SDL.h>
#include <stdlib.h>
static SDL_TimerID sanity_timer;
@ -19,7 +20,7 @@ static uint32_t sanity_timer_handler(uint32_t interval, void *data) {
/* TODO: figure out the most portable way to do it */
/* TODO: different type of behavior is possible, especially for debugging */
quick_exit(EXIT_FAILURE);
exit(EXIT_FAILURE);
}