[Scummvm-cvs-logs] SF.net SVN: scummvm:[45868] scummvm/trunk/engines/sci/sfx/softseq/amiga.cpp

waltervn at users.sourceforge.net waltervn at users.sourceforge.net
Thu Nov 12 20:16:55 CET 2009


Revision: 45868
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45868&view=rev
Author:   waltervn
Date:     2009-11-12 19:16:55 +0000 (Thu, 12 Nov 2009)

Log Message:
-----------
SCI: Fix uninitialized variable in Amiga driver.

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

Modified: scummvm/trunk/engines/sci/sfx/softseq/amiga.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/softseq/amiga.cpp	2009-11-12 19:11:50 UTC (rev 45867)
+++ scummvm/trunk/engines/sci/sfx/softseq/amiga.cpp	2009-11-12 19:16:55 UTC (rev 45868)
@@ -508,6 +508,7 @@
 
 	for (uint i = 0; i < kChannels; i++) {
 		_voices[i].note = -1;
+		_voices[i].hw_channel = 0;
 	}
 
 	for (uint i = 0; i < MIDI_CHANNELS; i++) {


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