AUDIO: Miles Audio MT32: use #def for SysEx term.

use MILES_MT32_SYSEX_TERMINATOR instead of hardcoded 0xFF
missed one
This commit is contained in:
Martin Kiewitz 2015-06-29 00:00:04 +02:00
parent 0cf7e2421a
commit 50b822c60e

View File

@ -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));