Ticket #8083: cdrom-nohog.diff

File cdrom-nohog.diff, 598 bytes (added by eriktorbjorn, 22 years ago)

Patch against an October 4 CVS snapshot

  • scummvm/scumm/scummvm.cpp

    diff -ur ScummVM-cvs20021004/scummvm/scumm/scummvm.cpp ScummVM-cvs20021004+hack/scummvm/scumm/scummvm.cpp
    old new  
    116116        /* Initialize backend */
    117117        syst->init_size(_realWidth, _realHeight);
    118118        prop.cd_num = detector->_cdrom;
    119         if (prop.cd_num >= 0)
     119        if (prop.cd_num >= 0 && (_features & GF_AUDIOTRACKS))
    120120                syst->property(OSystem::PROP_OPEN_CD, &prop);
    121121
    122122        /* Bind the mixer to the system => mixer will be invoked