diff --git a/src/xsystem35.c b/src/xsystem35.c index f642006..a9ddc3d 100644 --- a/src/xsystem35.c +++ b/src/xsystem35.c @@ -226,8 +226,7 @@ void sys_exit(int code) { sys35_remove(); #ifdef __EMSCRIPTEN__ EM_ASM( xsystem35.shell.quit(); ); - nact->is_quit = TRUE; - nact->wait_vsync = TRUE; + Sleep(1000000000); #else exit(code); #endif