ReC98/th02/core/initmain.cpp

22 lines
400 B
C++
Raw Normal View History

#pragma option -zCSHARED
#include "platform.h"
#include "libs/master.lib/master.hpp"
#include "libs/master.lib/pc98_gfx.hpp"
#include "th01/hardware/vplanset.h"
#include "th02/mem.h"
#include "th02/formats/pf.hpp"
int game_init_main(void)
{
if(mem_assign_dos(MEM_ASSIGN_PARAS_MAIN)) {
return 1;
}
vram_planes_set();
vsync_start();
egc_start();
graph_400line();
game_pfopen();
return 0;
}