Bootstrap MxMediaPresenter (#274)

* Bootstrap MxMediaPresenter

* Add override
This commit is contained in:
Christian Semmler
2023-11-12 07:47:01 -05:00
committed by GitHub
parent e2f2ef6152
commit 04b503c79f
12 changed files with 176 additions and 49 deletions

View File

@@ -0,0 +1,19 @@
#include "mxstreamchunklist.h"
#include "mxstreamchunk.h"
DECOMP_SIZE_ASSERT(MxStreamChunkList, 0x18);
DECOMP_SIZE_ASSERT(MxStreamChunkListCursor, 0x10);
// OFFSET: LEGO1 0x100b5900
MxS8 MxStreamChunkList::Compare(MxStreamChunk* p_a, MxStreamChunk* p_b)
{
return p_a == p_b ? 0 : p_a < p_b ? -1 : 1;
}
// OFFSET: LEGO1 0x100b5920
void MxStreamChunkList::Destroy(MxStreamChunk* p_chunk)
{
if (p_chunk)
delete p_chunk;
}