aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-11-08 18:47:33 +0000
committerTorbjörn Andersson2006-11-08 18:47:33 +0000
commita7950182f50ea16642f437e25b3ed591753edf95 (patch)
tree6b5cde6f71820ac6cb07239b1c337ec472ac0039 /sound
parent3be9c44dc40d5fa8af3bed4c64aa1a717fd44e52 (diff)
downloadscummvm-rg350-a7950182f50ea16642f437e25b3ed591753edf95.tar.gz
scummvm-rg350-a7950182f50ea16642f437e25b3ed591753edf95.tar.bz2
scummvm-rg350-a7950182f50ea16642f437e25b3ed591753edf95.zip
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. svn-id: r24657
Diffstat (limited to 'sound')
-rw-r--r--sound/softsynth/adlib.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/softsynth/adlib.cpp b/sound/softsynth/adlib.cpp
index 438441d634..3c9795ee12 100644
--- a/sound/softsynth/adlib.cpp
+++ b/sound/softsynth/adlib.cpp
@@ -621,6 +621,7 @@ void AdlibPart::init(MidiDriver_ADLIB *owner, byte channel) {
_owner = owner;
_channel = channel;
_pri_eff = 127;
+ programChange(0);
}
MidiDriver *AdlibPart::device() {