[Scummvm-cvs-logs] CVS: scummvm/scumm instrument.cpp,2.29,2.30

Jerome Fisher kingguppy at users.sourceforge.net
Tue Feb 15 09:58:10 CET 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3890

Modified Files:
	instrument.cpp 
Log Message:
- Fixed what I understand to be a check to ensure that sysex instrument data wasn't sent to the rhythm channel. It was preventing instruments from being written to part 8.
This fixes the window crashing sound in the intro of the floppy version of Indy 4, and possibly other things. Hopefully it breaks nothing.


Index: instrument.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/instrument.cpp,v
retrieving revision 2.29
retrieving revision 2.30
diff -u -d -r2.29 -r2.30
--- instrument.cpp	1 Jan 2005 16:09:14 -0000	2.29
+++ instrument.cpp	15 Feb 2005 17:56:32 -0000	2.30
@@ -433,7 +433,7 @@
 
 void Instrument_Roland::send (MidiChannel *mc) {
 	if (_native_mt32) {
-		if (mc->getNumber() > 7)
+		if (mc->getNumber() > 8)
 			return;
 		_instrument.device_id = mc->getNumber();
 





More information about the Scummvm-git-logs mailing list