From b9162b0126343d9e5475ac083bad3f2fdab79990 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Fri, 13 Oct 2023 20:02:56 -0400 Subject: [PATCH] MxMIDIPresenter destructor, stub Destroy for now --- LEGO1/mxmidipresenter.cpp | 12 ++++++++++++ LEGO1/mxmidipresenter.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/LEGO1/mxmidipresenter.cpp b/LEGO1/mxmidipresenter.cpp index 98868f8a..d17bf975 100644 --- a/LEGO1/mxmidipresenter.cpp +++ b/LEGO1/mxmidipresenter.cpp @@ -9,8 +9,20 @@ MxMIDIPresenter::MxMIDIPresenter() { Init(); } +// OFFSET: LEGO1 0x100c27c0 +MxMIDIPresenter::~MxMIDIPresenter() +{ + Destroy(TRUE); +} + // OFFSET: LEGO1 0x100c2820 void MxMIDIPresenter::Init() { m_unk54 = 0; } + +// OFFSET: LEGO1 0x100c2830 STUB +void MxMIDIPresenter::Destroy(MxBool p_param) +{ + // TODO +} diff --git a/LEGO1/mxmidipresenter.h b/LEGO1/mxmidipresenter.h index 07fc55a2..f36a6216 100644 --- a/LEGO1/mxmidipresenter.h +++ b/LEGO1/mxmidipresenter.h @@ -8,6 +8,7 @@ class MxMIDIPresenter : public MxMusicPresenter { public: MxMIDIPresenter(); + ~MxMIDIPresenter(); // OFFSET: LEGO1 0x100c2650 inline virtual const char *ClassName() const override // vtable+0xc @@ -24,6 +25,8 @@ class MxMIDIPresenter : public MxMusicPresenter private: void Init(); + void Destroy(MxBool); + undefined4 m_unk54; };