MxMusicPresenter destroy

This commit is contained in:
DimaLeon2000 2023-10-11 18:10:09 +09:00
parent 11dafaf816
commit f7b242d6af

View File

@ -24,9 +24,18 @@ void MxMusicPresenter::Init()
} }
// OFFSET: LEGO1 0x100c2550 STUB // OFFSET: LEGO1 0x100c2550 STUB
void MxMusicPresenter::Destroy(MxBool) void MxMusicPresenter::Destroy(MxBool p_reinit)
{ {
// TODO if (MusicManager()) {
MusicManager()->RemovePresenter(*this);
}
m_criticalSection.Enter();
Init();
m_criticalSection.Leave();
if (!p_reinit) {
// MxMediaPresenter::Destroy(FALSE);
// FIXME
}
} }
// OFFSET: LEGO1 0x100c25a0 // OFFSET: LEGO1 0x100c25a0