fix practice quit crash

This commit is contained in:
Sonic Dreamcaster 2024-11-23 19:42:57 -03:00
parent a0bbfa805d
commit 6185b5b48f

View File

@ -2780,6 +2780,9 @@ void Audio_StartReset(u8 oldSpecId) {
} else {
sAudioResetStatus = AUDIORESET_WAIT;
}
// LTODO: Workaround for the crash after quitting the Practice mode
sAudioResetStatus = AUDIORESET_WAIT;
AUDIOCMD_GLOBAL_UNMUTE(true);
Audio_ResetVoicesAndPlayers();
Audio_ResetSfxChannelState();