[Scummvm-cvs-logs] SF.net SVN: scummvm:[46783] scummvm/trunk/engines/sci/sfx/soundcmd.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Thu Dec 31 00:13:50 CET 2009


Revision: 46783
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46783&view=rev
Author:   m_kiewitz
Date:     2009-12-30 23:13:49 +0000 (Wed, 30 Dec 2009)

Log Message:
-----------
SCI/newmusic: cmdSendMidi / removed weird midiCmd code - fixes lsl5 des revers records piano session

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sfx/soundcmd.cpp

Modified: scummvm/trunk/engines/sci/sfx/soundcmd.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/soundcmd.cpp	2009-12-30 23:02:14 UTC (rev 46782)
+++ scummvm/trunk/engines/sci/sfx/soundcmd.cpp	2009-12-30 23:13:49 UTC (rev 46783)
@@ -220,9 +220,7 @@
 
 	if (argc == 6) {	// cmdSendMidi
 		byte channel = argv[2].toUint16() & 0xf;
-		byte midiCmd = argv[3].toUint16() == 0xff ?
-					  0xe0 : /* Pitch wheel */
-					  0xb0; /* argv[3].toUint16() is actually a controller number */
+		byte midiCmd = argv[3].toUint16() & 0xff;
 		
 		uint16 controller = argv[4].toUint16();
 		uint16 param = argv[5].toUint16();


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