Add test for SUCCESS

This commit is contained in:
Christian Semmler 2024-01-18 13:29:00 -05:00
parent 5d79ac9436
commit be045514ed
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -95,7 +95,7 @@ MxResult MxMIDIPresenter::PutData()
if (m_currentTickleState == e_streaming && m_chunk && !MusicManager()->GetMIDIInitialized()) { if (m_currentTickleState == e_streaming && m_chunk && !MusicManager()->GetMIDIInitialized()) {
SetVolume(((MxDSSound*) m_action)->GetVolume()); SetVolume(((MxDSSound*) m_action)->GetVolume());
if (MusicManager()->InitializeMIDI(m_chunk->GetData(), 1)) if (MusicManager()->InitializeMIDI(m_chunk->GetData(), 1) != SUCCESS)
EndAction(); EndAction();
} }