aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner2010-11-21 18:42:00 +0000
committerDavid Turner2010-11-21 18:42:00 +0000
commita00668331c86c1783e7fe383eca5be24f41eb51b (patch)
tree1a32e6bac948360737de2a392a773bdafe9f679d
parent3d8366750484741b0c099afb4fb30ce26bc1ed2f (diff)
downloadscummvm-rg350-a00668331c86c1783e7fe383eca5be24f41eb51b.tar.gz
scummvm-rg350-a00668331c86c1783e7fe383eca5be24f41eb51b.tar.bz2
scummvm-rg350-a00668331c86c1783e7fe383eca5be24f41eb51b.zip
QUEEN: Correct uninitialised read in Queen Adlib driver found by Valgrind.
svn-id: r54410
-rw-r--r--engines/queen/midiadlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/queen/midiadlib.cpp b/engines/queen/midiadlib.cpp
index 0498fc426a..904952b1c5 100644
--- a/engines/queen/midiadlib.cpp
+++ b/engines/queen/midiadlib.cpp
@@ -35,7 +35,7 @@ class AdLibMidiChannel;
class AdLibMidiDriver : public MidiDriver_Emulated {
public:
- AdLibMidiDriver(Audio::Mixer *mixer) : MidiDriver_Emulated(mixer) {}
+ AdLibMidiDriver(Audio::Mixer *mixer) : MidiDriver_Emulated(mixer) { _adlibWaveformSelect = 0; }
~AdLibMidiDriver() {}
// MidiDriver