aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
Diffstat (limited to 'sky')
-rw-r--r--sky/music/mt32music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/music/mt32music.cpp b/sky/music/mt32music.cpp
index 97e3fdfab5..9e062546f4 100644
--- a/sky/music/mt32music.cpp
+++ b/sky/music/mt32music.cpp
@@ -105,7 +105,7 @@ bool SkyMT32Music::processPatchSysEx(uint8 *sysExData) {
sysExBuf[13] = sysExData[3] >> 7; // reverb switch
for (uint8 cnt = 4; cnt < 14; cnt++)
crc -= sysExBuf[cnt];
- sysExBuf[14] = crc; // crc
+ sysExBuf[14] = crc & 0x7F; // crc
_midiDrv->sysEx(sysExBuf, 15);
return true;
}