From 6c3337b18d2b9463fc06c0dfdc38ae9c355dd496 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Sat, 29 Dec 2018 12:13:11 +0900 Subject: [PATCH] Do not poll input in SDL --- src/nact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nact.c b/src/nact.c index 2384e80..6d96ac2 100644 --- a/src/nact.c +++ b/src/nact.c @@ -200,7 +200,7 @@ void nact_main() { check_command(c0); nact->cmd_count++; } -#ifndef __EMSCRIPTEN__ +#ifndef ENABLE_SDL if (!nact->is_message_locked) { if (get_high_counter(SYSTEMCOUNTER_MAINLOOP)) { sys_getInputInfo();