[Scummvm-cvs-logs] SF.net SVN: scummvm:[47331] scummvm/trunk/engines/sci/sound/softseq/midi. cpp
waltervn at users.sourceforge.net
waltervn at users.sourceforge.net
Sat Jan 16 20:50:59 CET 2010
Revision: 47331
http://scummvm.svn.sourceforge.net/scummvm/?rev=47331&view=rev
Author: waltervn
Date: 2010-01-16 19:50:59 +0000 (Sat, 16 Jan 2010)
Log Message:
-----------
SCI: Fix percussion volume adjust
Modified Paths:
--------------
scummvm/trunk/engines/sci/sound/softseq/midi.cpp
Modified: scummvm/trunk/engines/sci/sound/softseq/midi.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/softseq/midi.cpp 2010-01-16 19:44:33 UTC (rev 47330)
+++ scummvm/trunk/engines/sci/sound/softseq/midi.cpp 2010-01-16 19:50:59 UTC (rev 47331)
@@ -422,6 +422,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list