[Scummvm-cvs-logs] SF.net SVN: scummvm: [24657] scummvm/trunk/sound/softsynth/adlib.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Wed Nov 8 19:47:37 CET 2006


Revision: 24657
          http://svn.sourceforge.net/scummvm/?rev=24657&view=rev
Author:   eriktorbjorn
Date:     2006-11-08 10:47:33 -0800 (Wed, 08 Nov 2006)

Log Message:
-----------
Changed the default instrument from "no instrument at all" to "the first
instrument in the instrument bank". It looks like Elvira 1 and 2 play music
without selecting any instruments first on some channels. This should fix bug
#1582389.

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/adlib.cpp

Modified: scummvm/trunk/sound/softsynth/adlib.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/adlib.cpp	2006-11-08 10:06:42 UTC (rev 24656)
+++ scummvm/trunk/sound/softsynth/adlib.cpp	2006-11-08 18:47:33 UTC (rev 24657)
@@ -621,6 +621,7 @@
 	_owner = owner;
 	_channel = channel;
 	_pri_eff = 127;
+	programChange(0);
 }
 
 MidiDriver *AdlibPart::device() {


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