From 699ac6c7cd2326e1573173b6acb28c1466ec4f2d Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Thu, 24 Sep 2026 23:30:17 +0200 Subject: [PATCH] Fixed update time implementation. --- core/host/linux/update_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/host/linux/update_time.c b/core/host/linux/update_time.c index 0d74c0c..3778b80 100644 --- a/core/host/linux/update_time.c +++ b/core/host/linux/update_time.c @@ -5,7 +5,7 @@ inline void update_time(void) { - static uint32_t last_clock_state = 0; + static uint64_t last_clock_state = 0; uint64_t start_clock = SDL_GetTicksNS(); game.delta_time_ms = SDL_NS_TO_MS((float)(start_clock - last_clock_state)); if(game.delta_time_ms > 100.0f) game.delta_time_ms = 100.0f;