2021-01-20 17:14:20 +00:00
|
|
|
#include "th01/hardware/vplanset.h"
|
|
|
|
|
2019-11-19 14:26:47 +00:00
|
|
|
int game_init_op(void)
|
|
|
|
{
|
|
|
|
#if GAME >= 4
|
|
|
|
# define PARAS (mem_assign_paras)
|
|
|
|
#else
|
|
|
|
# define PARAS (MEM_ASSIGN_PARAS_OP)
|
|
|
|
#endif
|
|
|
|
if(mem_assign_dos(PARAS)) {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
#undef PARAS
|
|
|
|
|
|
|
|
vram_planes_set();
|
|
|
|
graph_start();
|
|
|
|
graph_clear_both();
|
|
|
|
vsync_start();
|
|
|
|
key_beep_off();
|
|
|
|
text_systemline_off();
|
|
|
|
text_cursor_off();
|
|
|
|
egc_start();
|
|
|
|
pfkey = PF_KEY;
|
|
|
|
pfstart(pf_fn);
|
|
|
|
return 0;
|
|
|
|
}
|