mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
Implement/match MxMediaManager::Tickle (#127)
* Implement/match MxMediaManager::Tickle * Remove space
This commit is contained in:
parent
b819657bd8
commit
c67e537508
2 changed files with 14 additions and 1 deletions
|
@ -83,6 +83,7 @@ class MxListCursor : public MxCore
|
|||
MxBool Find(T *p_obj);
|
||||
void Detach();
|
||||
MxBool Next(T*& p_obj);
|
||||
void Reset() { m_match = NULL; }
|
||||
|
||||
private:
|
||||
MxList<T> *m_list;
|
||||
|
|
|
@ -27,9 +27,21 @@ MxResult MxMediaManager::Init()
|
|||
return SUCCESS;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b8790 STUB
|
||||
// OFFSET: LEGO1 0x100b8790
|
||||
MxResult MxMediaManager::Tickle()
|
||||
{
|
||||
MxAutoLocker lock(&this->m_criticalSection);
|
||||
MxPresenter *presenter;
|
||||
MxPresenterListCursor cursor(this->m_presenters);
|
||||
|
||||
while (cursor.Next(presenter))
|
||||
presenter->Tickle();
|
||||
|
||||
cursor.Reset();
|
||||
|
||||
while (cursor.Next(presenter))
|
||||
presenter->VTable0x4c();
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue