Fix audio bug, re-enable condition

This commit is contained in:
t0mtee
2026-06-28 11:14:44 +01:00
parent 554367aaab
commit bc5fc67da2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ void Z2SceneMgr::setFadeOutStart(u8 fadeType) {
Z2GetSeqMgr()->bgmAllMute(33, 3.0f / 10.0f);
Z2GetSeMgr()->seMoveVolumeAll(0.0f, 33);
Z2GetSeqMgr()->setBattleBgmOff(true);
load1stWait = 40;
load1stWait = 1;
timer = -1;
}
@@ -1777,7 +1777,7 @@ void Z2SceneMgr::_load1stWaveInner_1() {
if (field_0x1a && Z2GetSeqMgr()->checkBgmPlaying()) {
OS_REPORT("[Z2SceneMgr::load1stDynamicWave]bgm StopCount = %d\n", 15);
Z2GetSeqMgr()->bgmStop(15, 0);
load1stWait = -15;
load1stWait = -1;
} else {
_load1stWaveInner_2();
}
+2 -2
View File
@@ -1418,8 +1418,8 @@ static int phase_2(dScnPly_c* i_this) {
static int phase_3(dScnPly_c* i_this) {
DuskLog.debug("777777777777777777777777777777\n");
if ((i_this->sceneCommand != NULL && !i_this->sceneCommand->sync()))
// || mDoAud_check1stDynamicWave()) // <------ THIS FUNC IS THE ISSUE OR AT LEAST PART OF IT
if ((i_this->sceneCommand != NULL && !i_this->sceneCommand->sync()) ||
mDoAud_check1stDynamicWave())
{
DuskLog.debug("waiting1......\n");
return cPhs_INIT_e;