diff --git a/LEGO1/mxflcpresenter.cpp b/LEGO1/mxflcpresenter.cpp index 8bd23d22..79c1ae49 100644 --- a/LEGO1/mxflcpresenter.cpp +++ b/LEGO1/mxflcpresenter.cpp @@ -4,14 +4,18 @@ DECOMP_SIZE_ASSERT(MxFlcPresenter, 0x68); -// OFFSET: LEGO1 0x100b3310 STUB +// OFFSET: LEGO1 0x100b3310 MxFlcPresenter::MxFlcPresenter() { - // TODO + this->m_unk64 = 0; + this->m_flags &= 0xfd; + this->m_flags &= 0xfb; } -// OFFSET: LEGO1 0x100b3420 STUB +// OFFSET: LEGO1 0x100b3420 MxFlcPresenter::~MxFlcPresenter() { - // TODO + if (this->m_unk64) { + delete this->m_unk64; + } } diff --git a/LEGO1/mxflcpresenter.h b/LEGO1/mxflcpresenter.h index bc34ff12..19535bcd 100644 --- a/LEGO1/mxflcpresenter.h +++ b/LEGO1/mxflcpresenter.h @@ -26,7 +26,7 @@ public: return !strcmp(name, MxFlcPresenter::ClassName()) || MxVideoPresenter::IsA(name); } - undefined4 m_unk64; + undefined4 *m_unk64; }; #endif // MXFLCPRESENTER_H diff --git a/LEGO1/mxvideopresenter.h b/LEGO1/mxvideopresenter.h index 19c211c3..bc5fac5c 100644 --- a/LEGO1/mxvideopresenter.h +++ b/LEGO1/mxvideopresenter.h @@ -32,7 +32,7 @@ public: undefined4 m_unk54; undefined4 m_unk58; undefined2 m_unk5c; - unsigned char m_flags; + unsigned char m_flags; // 0x5e undefined4 m_unk60; };