mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match MxMidiPresenter (#301)
This commit is contained in:

committed by
GitHub

parent
db77350169
commit
7db2b2e6b7
@@ -120,6 +120,15 @@ void MxMusicManager::SetVolume(MxS32 p_volume)
|
||||
m_criticalSection.Leave();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c0970
|
||||
void MxMusicManager::SetMultiplier(MxS32 p_multiplier)
|
||||
{
|
||||
m_criticalSection.Enter();
|
||||
m_multiplier = p_multiplier;
|
||||
SetMIDIVolume();
|
||||
m_criticalSection.Leave();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c09a0
|
||||
MxS32 MxMusicManager::CalculateVolume(MxS32 p_volume)
|
||||
{
|
||||
@@ -127,6 +136,13 @@ MxS32 MxMusicManager::CalculateVolume(MxS32 p_volume)
|
||||
return (result << 0x10) | result;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c09c0 STUB
|
||||
undefined4 MxMusicManager::FUN_100c09c0(MxU8* p_data, undefined4)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100c0b20
|
||||
void MxMusicManager::DeinitializeMIDI()
|
||||
{
|
||||
|
Reference in New Issue
Block a user