checkkeys: Sleeping for 100ms every frame makes the program too unresponsive.
Build (All) / Create test plan (push) Has been cancelled
Build (All) / level1 (push) Has been cancelled
Build (All) / level2 (push) Has been cancelled

Makes it feel like there's a bug in SDL's text input handling. 10ms is fine.
This commit is contained in:
Ryan C. Gordon
2026-04-28 08:08:15 -04:00
parent 788bd816e7
commit 7212ab1c2a
+1 -1
View File
@@ -434,7 +434,7 @@ static void loop(void)
}
/* Slow down framerate */
SDL_Delay(100);
SDL_Delay(10);
#ifdef SDL_PLATFORM_EMSCRIPTEN
if (done) {