[Scummvm-cvs-logs] SF.net SVN: scummvm:[50466] scummvm/trunk/engines/sci/sound/midiparser_sci. cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Jun 29 00:26:28 CEST 2010


Revision: 50466
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50466&view=rev
Author:   m_kiewitz
Date:     2010-06-28 22:26:28 +0000 (Mon, 28 Jun 2010)

Log Message:
-----------
SCI: removing ignoring of channel volume change code from r50463, the lsl5 issue was actually caused by the old volume adjust code that was also causing the issues in gk1

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/midiparser_sci.cpp

Modified: scummvm/trunk/engines/sci/sound/midiparser_sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/midiparser_sci.cpp	2010-06-28 22:14:03 UTC (rev 50465)
+++ scummvm/trunk/engines/sci/sound/midiparser_sci.cpp	2010-06-28 22:26:28 UTC (rev 50466)
@@ -552,17 +552,6 @@
 				break;
 			}
 		}
-		switch (info.basic.param1) {
-		case 7: // channel volume change
-			if (!_position._play_tick) {
-				// if this is tried on tick 0, ignore the command
-				// this is needed for lsl5 sound resource 294, it sets channel volume to very low at the start
-				//  sierra sci ignores those
-				parseNextEvent(_next_event);
-				return;
-			}
-			break;
-		}
 		info.length = 0;
 		break;
 


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