Implement/match MxMediaPresenter::Tickle and related (#277)

* Bootstrap MxMediaPresenter

* Implement/match MxMediaPresenter::Tickle and related

* Implement AppendChunk and Enable
This commit is contained in:
Christian Semmler
2023-11-13 06:25:27 -05:00
committed by GitHub
parent a087c666b4
commit ba82821501
9 changed files with 194 additions and 43 deletions

View File

@@ -1,19 +1,21 @@
#include "mxdschunk.h"
DECOMP_SIZE_ASSERT(MxDSChunk, 0x1c);
// OFFSET: LEGO1 0x100be050
MxDSChunk::MxDSChunk()
{
this->m_length = 0;
this->m_unk18 = NULL;
this->m_buffer = -1;
this->m_unk10 = 0;
this->m_unk14 = 0;
m_flags = 0;
m_data = NULL;
m_unk0c = -1;
m_time = 0;
m_length = 0;
}
// OFFSET: LEGO1 0x100be170
MxDSChunk::~MxDSChunk()
{
if ((this->m_length & 1) != 0) {
delete this->m_unk18;
if (m_flags & Flag_Bit1) {
delete[] m_data;
}
}