コード例 #1
0
ファイル: libretro.cpp プロジェクト: MiLO83/meteor-libretro
static void first_run_load()
{
	// Have to defer ROM loading as SRAM content is used to determine cart type. GBA stuff ...
	if (first_run)
	{
		AMeteor::_memory.LoadCartInferred();
		am_video.InitAMeteor();
		am_audio.InitAMeteor();
		am_input.InitAMeteor();
		first_run = false;
	}
}
コード例 #2
0
static void init_first_run()
{
	static bool first_run = true;
	if (first_run)
	{
		AMeteor::_memory.LoadCartInferred();
		am_video.InitAMeteor();
		am_audio.InitAMeteor();
		am_input.InitAMeteor();
		first_run = false;
	}
}