2021-03-21 18:35:04 +00:00
|
|
|
#pragma option -zCSHARED
|
2021-01-27 16:26:19 +00:00
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
#include "master.hpp"
|
2021-01-20 17:14:20 +00:00
|
|
|
#include "th01/hardware/vplanset.h"
|
2021-01-27 16:26:19 +00:00
|
|
|
#include "th02/mem.h"
|
|
|
|
#include "th02/formats/pf.hpp"
|
2021-01-20 17:14:20 +00:00
|
|
|
|
|
|
|
int game_init_main(void)
|
|
|
|
{
|
|
|
|
if(mem_assign_dos(MEM_ASSIGN_PARAS_MAIN)) {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
vram_planes_set();
|
|
|
|
vsync_start();
|
|
|
|
egc_start();
|
|
|
|
graph_400line();
|
2021-01-28 19:26:21 +00:00
|
|
|
game_pfopen();
|
2021-01-20 17:14:20 +00:00
|
|
|
return 0;
|
|
|
|
}
|
2021-01-27 16:26:19 +00:00
|
|
|
|
|
|
|
}
|