Init functions in MxMediaPresenter and LegoPalettePresenter (#121)

* Match MxMediaPresenter::Init

* LegoPalettePresenter::Init()

* LegoPalettePresenter: for now, use undefined4 type
This commit is contained in:
Joshua Peisach 2023-09-11 13:43:55 -04:00 committed by GitHub
parent dc18b5d9c1
commit 3e7cb6a7a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View file

@ -1,5 +1,7 @@
#include "legopalettepresenter.h" #include "legopalettepresenter.h"
DECOMP_SIZE_ASSERT(LegoPalettePresenter, 0x68)
// OFFSET: LEGO1 0x10079e50 // OFFSET: LEGO1 0x10079e50
LegoPalettePresenter::LegoPalettePresenter() LegoPalettePresenter::LegoPalettePresenter()
{ {
@ -12,8 +14,8 @@ LegoPalettePresenter::~LegoPalettePresenter()
// TODO // TODO
} }
// OFFSET: LEGO1 0x1007a0d0 STUB // OFFSET: LEGO1 0x1007a0d0
void LegoPalettePresenter::Init() void LegoPalettePresenter::Init()
{ {
// TODO this->m_unk64 = 0;
} }

View file

@ -1,6 +1,7 @@
#ifndef LEGOPALETTEPRESENTER_H #ifndef LEGOPALETTEPRESENTER_H
#define LEGOPALETTEPRESENTER_H #define LEGOPALETTEPRESENTER_H
#include "decomp.h"
#include "mxvideopresenter.h" #include "mxvideopresenter.h"
// VTABLE 0x100d9aa0 // VTABLE 0x100d9aa0
@ -27,6 +28,7 @@ class LegoPalettePresenter : public MxVideoPresenter
private: private:
void Init(); void Init();
undefined4 m_unk64;
}; };

View file

@ -9,8 +9,11 @@ MxLong MxMediaPresenter::Tickle()
return 0; return 0;
} }
// OFFSET: LEGO1 0x100b54e0 STUB // OFFSET: LEGO1 0x100b54e0
void MxMediaPresenter::Init() void MxMediaPresenter::Init()
{ {
// TODO this->m_unk40 = NULL;
this->m_unk44 = NULL;
this->m_unk48 = NULL;
this->m_unk4c = NULL;
} }