ReC98/th02/core/exit.c

31 lines
381 B
C

#include "platform.h"
#include "x86real.h"
#include "master.hpp"
#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
}