[Scummvm-cvs-logs] scummvm master -> 50b822c60e1e215dfba501da94a7da91bf3e0788
m-kiewitz
m_kiewitz at users.sourceforge.net
Mon Jun 29 00:00:16 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
50b822c60e AUDIO: Miles Audio MT32: use #def for SysEx term.
Commit: 50b822c60e1e215dfba501da94a7da91bf3e0788
https://github.com/scummvm/scummvm/commit/50b822c60e1e215dfba501da94a7da91bf3e0788
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-29T00:00:04+02:00
Commit Message:
AUDIO: Miles Audio MT32: use #def for SysEx term.
use MILES_MT32_SYSEX_TERMINATOR instead of hardcoded 0xFF
missed one
Changed paths:
audio/miles_mt32.cpp
diff --git a/audio/miles_mt32.cpp b/audio/miles_mt32.cpp
index 19fa374..af99abc 100644
--- a/audio/miles_mt32.cpp
+++ b/audio/miles_mt32.cpp
@@ -304,7 +304,7 @@ void MidiDriver_Miles_MT32::MT32SysEx(const uint32 targetAddress, const byte *da
sysExPos = 7;
while (1) {
sysExByte = *dataPtr++;
- if (sysExByte == 0xff)
+ if (sysExByte == MILES_MT32_SYSEX_TERMINATOR)
break; // Message done
assert(sysExPos < sizeof(sysExMessage));
More information about the Scummvm-git-logs
mailing list