diff options
author | Jamieson Christian | 2003-06-01 02:37:37 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-06-01 02:37:37 +0000 |
commit | 3103dfa1f3db7542084436eed282689e186506f1 (patch) | |
tree | 52c2d35727d4a32513c6a8c942c96ae26c0e2b81 /backends | |
parent | e2b2f8cc64044fc581657c79b08e2c7b243e15e3 (diff) | |
download | scummvm-rg350-3103dfa1f3db7542084436eed282689e186506f1.tar.gz scummvm-rg350-3103dfa1f3db7542084436eed282689e186506f1.tar.bz2 scummvm-rg350-3103dfa1f3db7542084436eed282689e186506f1.zip |
Fixed SysEx errors
svn-id: r8212
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/windows.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/windows.cpp b/backends/midi/windows.cpp index e1b61cbaa6..c4ebcfd9ce 100644 --- a/backends/midi/windows.cpp +++ b/backends/midi/windows.cpp @@ -99,7 +99,7 @@ void MidiDriver_WIN::sysEx (byte *msg, uint16 length) } midiOutUnprepareHeader (_mo, &_streamHeader, sizeof (_streamHeader)); - _streamBuffer [0] = 0xFF; + _streamBuffer [0] = 0xF0; memcpy(&_streamBuffer[1], msg, length); _streamBuffer [length+1] = 0xF7; @@ -107,7 +107,7 @@ void MidiDriver_WIN::sysEx (byte *msg, uint16 length) _streamHeader.dwBufferLength = length + 2; _streamHeader.dwBytesRecorded = length + 2; _streamHeader.dwUser = 0; -// _streamHeader.dwFlags |= MHDR_ISSTRM; + _streamHeader.dwFlags = 0; MMRESULT result = midiOutPrepareHeader (_mo, &_streamHeader, sizeof (_streamHeader)); if (result != MMSYSERR_NOERROR) { |