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