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; } }
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; } }