From 5d79ac94363d94394f2738d29f8b7d6a72c57e5e Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 18 Jan 2024 13:26:51 -0500 Subject: [PATCH] Fix MxMusicManager::InitializeMIDI return type --- LEGO1/omni/include/mxmusicmanager.h | 2 +- LEGO1/omni/src/audio/mxmusicmanager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/omni/include/mxmusicmanager.h b/LEGO1/omni/include/mxmusicmanager.h index 48c2df69..6deb88b3 100644 --- a/LEGO1/omni/include/mxmusicmanager.h +++ b/LEGO1/omni/include/mxmusicmanager.h @@ -27,7 +27,7 @@ class MxMusicManager : public MxAudioManager { MxResult ResetStream(); void ResetBuffer(); - undefined4 InitializeMIDI(MxU8* p_data, MxS32 p_loopCount); + MxResult InitializeMIDI(MxU8* p_data, MxS32 p_loopCount); void DeinitializeMIDI(); void SetMultiplier(MxS32 p_multiplier); diff --git a/LEGO1/omni/src/audio/mxmusicmanager.cpp b/LEGO1/omni/src/audio/mxmusicmanager.cpp index b936ac30..3f2a4dd5 100644 --- a/LEGO1/omni/src/audio/mxmusicmanager.cpp +++ b/LEGO1/omni/src/audio/mxmusicmanager.cpp @@ -204,7 +204,7 @@ MxS32 MxMusicManager::CalculateVolume(MxS32 p_volume) } // FUNCTION: LEGO1 0x100c09c0 -undefined4 MxMusicManager::InitializeMIDI(MxU8* p_data, MxS32 p_loopCount) +MxResult MxMusicManager::InitializeMIDI(MxU8* p_data, MxS32 p_loopCount) { MxResult result = FAILURE;