mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 08:11:16 +00:00
MxMusicPresenter destroy
This commit is contained in:
parent
11dafaf816
commit
f7b242d6af
@ -24,9 +24,18 @@ void MxMusicPresenter::Init()
|
||||
}
|
||||
|
||||
// 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user