mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-02-16 19:50:52 -05:00
MxAudioPresenter - vtable functions (#175)
* MxAudioPresenter - vtable functions * Rename parameter --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
1217e4aa58
commit
85fe4ad07a
2 changed files with 17 additions and 1 deletions
|
@ -3,3 +3,15 @@
|
|||
#include "decomp.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxAudioPresenter, 0x54);
|
||||
|
||||
// OFFSET: LEGO1 0x1000d260
|
||||
undefined4 MxAudioPresenter::vtable5c()
|
||||
{
|
||||
return this->m_unk50;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1000d270
|
||||
void MxAudioPresenter::vtable60(undefined4 p_unk50)
|
||||
{
|
||||
this->m_unk50 = p_unk50;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef MXAUDIOPRESENTER_H
|
||||
#define MXAUDIOPRESENTER_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "mxmediapresenter.h"
|
||||
|
||||
// VTABLE 0x100d4c70
|
||||
|
@ -24,7 +25,10 @@ public:
|
|||
return !strcmp(name, MxAudioPresenter::ClassName()) || MxMediaPresenter::IsA(name);
|
||||
}
|
||||
|
||||
int m_unk50;
|
||||
virtual undefined4 vtable5c();
|
||||
virtual void vtable60(undefined4);
|
||||
|
||||
undefined4 m_unk50;
|
||||
};
|
||||
|
||||
#endif // MXAUDIOPRESENTER_H
|
||||
|
|
Loading…
Reference in a new issue