aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorMatthew Hoops2015-09-29 01:13:05 -0400
committerJohannes Schickel2016-03-13 13:53:14 +0100
commite9441aa809634900ad4cbd414510f057f62329f2 (patch)
tree430e1cfea3a6699e63c871abbf4047ec661f792c /engines/teenagent
parentc0e11a431dd5c4a82ab754c3f94bb95ee46de792 (diff)
downloadscummvm-rg350-e9441aa809634900ad4cbd414510f057f62329f2.tar.gz
scummvm-rg350-e9441aa809634900ad4cbd414510f057f62329f2.tar.bz2
scummvm-rg350-e9441aa809634900ad4cbd414510f057f62329f2.zip
TEENAGENT: Ensure openCD() is called
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/teenagent.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp
index d5a8b8e2dc..f5d9f72cc3 100644
--- a/engines/teenagent/teenagent.cpp
+++ b/engines/teenagent/teenagent.cpp
@@ -545,6 +545,10 @@ Common::Error TeenAgentEngine::run() {
syncSoundSettings();
+ // Initialize CD audio
+ if (_gameDescription->flags & ADGF_CD)
+ g_system->getAudioCDManager()->openCD();
+
setMusic(1);
_mixer->playStream(Audio::Mixer::kMusicSoundType, &_musicHandle, music, -1, Audio::Mixer::kMaxChannelVolume, 0, DisposeAfterUse::NO, false);