2024-01-24 09:18:02 +00:00
|
|
|
#pragma option -zCSHARED
|
|
|
|
|
2021-12-25 15:18:17 +00:00
|
|
|
#include "platform.h"
|
|
|
|
#include "x86real.h"
|
2024-05-20 18:02:24 +00:00
|
|
|
#include "libs/master.lib/master.hpp"
|
2021-12-25 15:18:17 +00:00
|
|
|
#include "th02/core/initexit.h"
|
|
|
|
|
|
|
|
void game_exit(void)
|
|
|
|
{
|
|
|
|
pfend();
|
|
|
|
graph_clear_both();
|
|
|
|
|
|
|
|
#if (GAME >= 4)
|
|
|
|
mem_unassign();
|
|
|
|
vsync_end();
|
|
|
|
#else
|
|
|
|
vsync_end();
|
|
|
|
mem_unassign();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
text_clear();
|
|
|
|
|
|
|
|
#if (GAME >= 3)
|
|
|
|
js_end();
|
|
|
|
#endif
|
|
|
|
|
|
|
|
egc_start();
|
|
|
|
|
|
|
|
#if (GAME >= 4)
|
|
|
|
bgm_finish();
|
|
|
|
#endif
|
|
|
|
}
|