Minor tweak to MxList template (#1083)

* Beta addrs for MxList and related functions

* MxList DeleteAll and Empty functions
This commit is contained in:
MS
2024-08-11 16:23:39 -04:00
committed by GitHub
parent 53924c3d2d
commit 9ab3954bbb
15 changed files with 515 additions and 27 deletions

View File

@@ -23,6 +23,7 @@ MxCompositePresenter::~MxCompositePresenter()
}
// FUNCTION: LEGO1 0x100b6410
// FUNCTION: BETA10 0x100e9d37
MxResult MxCompositePresenter::StartAction(MxStreamController* p_controller, MxDSAction* p_action)
{
AUTOLOCK(m_criticalSection);
@@ -76,6 +77,7 @@ MxResult MxCompositePresenter::StartAction(MxStreamController* p_controller, MxD
}
// FUNCTION: LEGO1 0x100b65e0
// FUNCTION: BETA10 0x101375bc
void MxCompositePresenter::EndAction()
{
AUTOLOCK(m_criticalSection);
@@ -84,7 +86,7 @@ void MxCompositePresenter::EndAction()
return;
}
((MxDSMultiAction*) m_action)->GetActionList()->DeleteAll(FALSE);
((MxDSMultiAction*) m_action)->GetActionList()->Empty();
while (!m_list.empty()) {
MxPresenter* presenter = m_list.front();