#pragma option -zCSHARED -Z #include #include "platform.h" #include "x86real.h" #include "master.hpp" extern "C" { #include "th03/core/initexit.h" } void game_exit_from_mainl_to_main() { pfend(); graph_accesspage(0); graph_showpage(0); vsync_end(); mem_unassign(); js_end(); egc_start(); }