mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-14 01:49:05 +03:00
Emscripten: Sleep(infinite) in sys_exit()
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user