aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter van Niftrik2010-01-16 19:50:59 +0000
committerWalter van Niftrik2010-01-16 19:50:59 +0000
commit3e0251eced95596260cf79e67db0497e3a6a121c (patch)
tree983c4733d86f3835fdb67da20f23f4c9acc0eaa8
parent76dfdac6d49aa6a9c230f08e4fa676ac750d8010 (diff)
downloadscummvm-rg350-3e0251eced95596260cf79e67db0497e3a6a121c.tar.gz
scummvm-rg350-3e0251eced95596260cf79e67db0497e3a6a121c.tar.bz2
scummvm-rg350-3e0251eced95596260cf79e67db0497e3a6a121c.zip
SCI: Fix percussion volume adjust
svn-id: r47331
-rw-r--r--engines/sci/sound/softseq/midi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/softseq/midi.cpp b/engines/sci/sound/softseq/midi.cpp
index 2dda7ae3ce..879c1449a8 100644
--- a/engines/sci/sound/softseq/midi.cpp
+++ b/engines/sci/sound/softseq/midi.cpp
@@ -422,6 +422,7 @@ void MidiPlayer_Midi::readMt32GmPatch(const byte *data, int size) {
memcpy(_keyShift, data + 0x80, 0x80);
memcpy(_volAdjust, data + 0x100, 0x80);
memcpy(_percussionMap, data + 0x180, 0x80);
+ _channels[MIDI_RHYTHM_CHANNEL].volAdjust = data[0x200];
memcpy(_velocityMapIdx, data + 0x201, 0x80);
memcpy(_velocityMap, data + 0x281, 0x200);