aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMatthew Hoops2015-09-29 21:00:56 -0400
committerJohannes Schickel2016-03-13 13:52:24 +0100
commitfb6fe1332aaa9ab4d0ec0ad4ee8015ce4076bd85 (patch)
treecc1284f92298cfd8307ba6985f4105bdce147324 /engines/scumm
parentd85eb8ded68a20de383d84064aacd1a4c81db4e9 (diff)
downloadscummvm-rg350-fb6fe1332aaa9ab4d0ec0ad4ee8015ce4076bd85.tar.gz
scummvm-rg350-fb6fe1332aaa9ab4d0ec0ad4ee8015ce4076bd85.tar.bz2
scummvm-rg350-fb6fe1332aaa9ab4d0ec0ad4ee8015ce4076bd85.zip
BACKENDS: Move to an openCD() without parameters as the public API
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 89d2d3dc72..680bdb2463 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1275,10 +1275,7 @@ void ScummEngine::setupScumm() {
// On some systems it's not safe to run CD audio games from the CD.
if (_game.features & GF_AUDIOTRACKS && !Common::File::exists("CDDA.SOU")) {
checkCD();
-
- int cd_num = ConfMan.getInt("cdrom");
- if (cd_num >= 0)
- _system->getAudioCDManager()->openCD(cd_num);
+ _system->getAudioCDManager()->openCD();
}
// Create the sound manager