mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
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:
parent
0cf7e2421a
commit
50b822c60e
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user