diff options
author | Max Horn | 2002-10-07 18:36:09 +0000 |
---|---|---|
committer | Max Horn | 2002-10-07 18:36:09 +0000 |
commit | 82f3e17cb5cbf7b533b4979d80fff4ed783b9032 (patch) | |
tree | c8540e85f2a0aa5a0e93564f4ede3a7014c6ee0f /scumm | |
parent | e252eda7c238c263fe94bede247779260ecfb861 (diff) | |
download | scummvm-rg350-82f3e17cb5cbf7b533b4979d80fff4ed783b9032.tar.gz scummvm-rg350-82f3e17cb5cbf7b533b4979d80fff4ed783b9032.tar.bz2 scummvm-rg350-82f3e17cb5cbf7b533b4979d80fff4ed783b9032.zip |
patch #619276: Don't hog CD-ROM for non-CD games
svn-id: r5103
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 78f7b373ac..259387ca00 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -116,7 +116,7 @@ Scumm::Scumm (GameDetector *detector, OSystem *syst) /* Initialize backend */ syst->init_size(_realWidth, _realHeight); prop.cd_num = detector->_cdrom; - if (prop.cd_num >= 0) + if (prop.cd_num >= 0 && (_features & GF_AUDIOTRACKS)) syst->property(OSystem::PROP_OPEN_CD, &prop); /* Bind the mixer to the system => mixer will be invoked |