aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-29 00:00:04 +0200
committerMartin Kiewitz2015-06-29 00:00:04 +0200
commit50b822c60e1e215dfba501da94a7da91bf3e0788 (patch)
tree0967a9e019ca2d95b6d2c061df9ec329fdad9d90
parent0cf7e2421a30a9df1d7cc9966082ce1a835b61dc (diff)
downloadscummvm-rg350-50b822c60e1e215dfba501da94a7da91bf3e0788.tar.gz
scummvm-rg350-50b822c60e1e215dfba501da94a7da91bf3e0788.tar.bz2
scummvm-rg350-50b822c60e1e215dfba501da94a7da91bf3e0788.zip
AUDIO: Miles Audio MT32: use #def for SysEx term.
use MILES_MT32_SYSEX_TERMINATOR instead of hardcoded 0xFF missed one
-rw-r--r--audio/miles_mt32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/miles_mt32.cpp b/audio/miles_mt32.cpp
index 19fa37404f..af99abc59c 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));