diff options
author | Jamieson Christian | 2003-10-03 18:59:48 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-10-03 18:59:48 +0000 |
commit | 056974821a9630f8f5c8971320471e5864e7e07f (patch) | |
tree | b828caaa1b73e82969fd131a0799189c8933e52b /sky | |
parent | d7660a2662be298dad3cf9b320137dac8744d456 (diff) | |
download | scummvm-rg350-056974821a9630f8f5c8971320471e5864e7e07f.tar.gz scummvm-rg350-056974821a9630f8f5c8971320471e5864e7e07f.tar.bz2 scummvm-rg350-056974821a9630f8f5c8971320471e5864e7e07f.zip |
Fix OOB SysEx checksums
svn-id: r10572
Diffstat (limited to 'sky')
-rw-r--r-- | sky/music/mt32music.cpp | 2 |
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; } |