d_a_player_main cleanup and inlines

This commit is contained in:
LagoLunatic
2025-06-15 13:59:16 -04:00
parent a15a72f209
commit 0146d0b91f
29 changed files with 691 additions and 715 deletions
+2 -2
View File
@@ -629,7 +629,7 @@ cPhs_State phase_0(dScnLogo_c* i_this) {
if (!cDyl_InitAsyncIsDone())
return cPhs_INIT_e;
if (mDoAud_zelAudio_c::isInitFlag() && JAIZelBasic::getInterface()->checkFirstWaves())
if (mDoAud_zelAudio_c::isInitFlag() && mDoAud_checkFirstWaves())
return cPhs_INIT_e;
#if VERSION == VERSION_PAL
@@ -904,7 +904,7 @@ cPhs_State phase_2(dScnLogo_c* i_this) {
l_FmapDataCommand = mDoDvdThd_toMainRam_c::create("/res/FmapDat/FmapDat.bin", JKRArchive::DEFAULT_MOUNT_DIRECTION, NULL);
JUT_ASSERT(VERSION_SELECT(1426, 1426, 1751, 1791), l_FmapDataCommand != NULL);
JAIZelBasic::getInterface()->loadStaticWaves();
mDoAud_loadStaticWaves();
mDoGph_gInf_c::setTickRate((OS_BUS_CLOCK / 4) / 60);
mDoGph_gInf_c::waitBlanking(0);
mDoGph_gInf_c::startFadeIn(30);