Prepare MxMidiPresenter vtable and refactoring (#278)

This commit is contained in:
Christian Semmler
2023-11-14 15:10:43 -05:00
committed by GitHub
parent e86d6f0cc7
commit c626f18b03
9 changed files with 91 additions and 37 deletions

View File

@@ -5,13 +5,13 @@
DECOMP_SIZE_ASSERT(MxAudioPresenter, 0x54);
// OFFSET: LEGO1 0x1000d260
undefined4 MxAudioPresenter::vtable5c()
MxU32 MxAudioPresenter::GetVolume()
{
return this->m_unk50;
return m_volume;
}
// OFFSET: LEGO1 0x1000d270
void MxAudioPresenter::vtable60(undefined4 p_unk50)
void MxAudioPresenter::SetVolume(MxU32 p_volume)
{
this->m_unk50 = p_unk50;
m_volume = p_volume;
}