aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/music.cpp b/engines/made/music.cpp
index aab22fd7ca..f57da833c2 100644
--- a/engines/made/music.cpp
+++ b/engines/made/music.cpp
@@ -37,7 +37,7 @@
namespace Made {
MusicPlayer::MusicPlayer(bool milesAudio) : _isGM(false),_milesAudioMode(false) {
- MusicType musicType;
+ MusicType musicType = MT_INVALID;
if (milesAudio) {
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MT32);
musicType = MidiDriver::getMusicType(dev);