aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2015-09-29 01:06:17 -0400
committerJohannes Schickel2016-03-13 13:52:35 +0100
commit016a6000e425bf4b5b696eae93316afbba15eb79 (patch)
treef3a11e5de6319459fe5e5dd728b05acb1ec46893 /engines
parentfb6fe1332aaa9ab4d0ec0ad4ee8015ce4076bd85 (diff)
downloadscummvm-rg350-016a6000e425bf4b5b696eae93316afbba15eb79.tar.gz
scummvm-rg350-016a6000e425bf4b5b696eae93316afbba15eb79.tar.bz2
scummvm-rg350-016a6000e425bf4b5b696eae93316afbba15eb79.zip
CINE: Ensure openCD() is called
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/sound.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp
index 7cab067371..0e7da2e2bc 100644
--- a/engines/cine/sound.cpp
+++ b/engines/cine/sound.cpp
@@ -939,6 +939,10 @@ PCSound::PCSound(Audio::Mixer *mixer, CineEngine *vm)
}
_player = new PCSoundFxPlayer(_soundDriver);
+
+ // Ensure the CD is open
+ if (_vm->getGameType() == GType_FW && (_vm->getFeatures() & GF_CD))
+ g_system->getAudioCDManager()->openCD();
}
PCSound::~PCSound() {