[Scummvm-cvs-logs] SF.net SVN: scummvm:[54477] scummvm/trunk/engines/sci/console.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Nov 25 16:59:30 CET 2010


Revision: 54477
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54477&view=rev
Author:   thebluegr
Date:     2010-11-25 15:59:30 +0000 (Thu, 25 Nov 2010)

Log Message:
-----------
SCI: Fixed a bug in the show_instruments console command

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2010-11-25 14:22:09 UTC (rev 54476)
+++ scummvm/trunk/engines/sci/console.cpp	2010-11-25 15:59:30 UTC (rev 54477)
@@ -974,15 +974,14 @@
 					DebugPrintf(" %d", instrument);
 					instruments[instrument]++;
 					instrumentsSongs[instrument][itr->getNumber()] = true;
+				} else {
+					channelData++;
 				}
 				break;
 			case 0xD:
 				channelData++;	// param1
 				break;
 			case 0xB:
-				channelData++;	// param1
-				channelData++;	// param2
-				break;
 			case 0x8:
 			case 0x9:
 			case 0xA:


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