mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 11:11:16 +00:00
Match MxMusicManager::ResetStream
This commit is contained in:
parent
ffee6a4e5b
commit
f1300d9de5
@ -81,7 +81,7 @@ MxResult MxMusicManager::ResetStream()
|
||||
ResetBuffer();
|
||||
}
|
||||
|
||||
if (m_midiHdrP->dwFlags & (MHDR_DONE | MHDR_PREPARED)) {
|
||||
if (m_midiHdrP->dwFlags & MHDR_DONE || m_midiHdrP->dwFlags & MHDR_PREPARED) {
|
||||
if (midiOutUnprepareHeader((HMIDIOUT) m_midiStreamH, m_midiHdrP, sizeof(MIDIHDR)) != MMSYSERR_NOERROR)
|
||||
goto done;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user