ReC98/th02/exit.c

26 lines
272 B
C
Raw Normal View History

void game_exit(void)
{
pfend();
graph_clear_both();
2019-11-19 14:26:47 +00:00
#if GAME >= 4
mem_unassign();
vsync_end();
#else
vsync_end();
mem_unassign();
2019-11-19 14:26:47 +00:00
#endif
text_clear();
2019-11-19 14:26:47 +00:00
#if GAME >= 3
js_end();
#endif
egc_start();
2019-11-19 14:26:47 +00:00
#if GAME >= 4
bgm_finish();
#endif
}