Emscripten: Sleep(infinite) in sys_exit()

This commit is contained in:
kichikuou
2019-07-20 18:06:14 +09:00
parent 8586e35987
commit 53d38e036c
+1 -2
View File
@@ -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