mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-06 05:48:06 +03:00
Emscripten: Expose sys_restart() function
This commit is contained in:
@@ -175,10 +175,10 @@ bool NACT::handle_platform_event(const SDL_Event& e)
|
||||
save_screenshot(ags);
|
||||
break;
|
||||
case ID_RESTART:
|
||||
terminate = restart_after_terminate = true;
|
||||
quit(true);
|
||||
break;
|
||||
case ID_EXIT:
|
||||
terminate = true;
|
||||
quit(false);
|
||||
break;
|
||||
case ID_SCREEN_WINDOW:
|
||||
SDL_SetWindowFullscreen(g_window, 0);
|
||||
|
||||
Reference in New Issue
Block a user