aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scumm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 9be88af8ea..2b05c35fbe 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1461,6 +1461,10 @@ int ScummEngine::init(GameDetector &detector) {
_system->endGFXTransaction();
+ // On some systems it's not safe to run CD audio games from the CD.
+ if (_features & GF_AUDIOTRACKS)
+ checkCD();
+
int cd_num = ConfMan.getInt("cdrom");
if (cd_num >= 0 && (_features & GF_AUDIOTRACKS))
_system->openCD(cd_num);