[ scummvm-Patches-615842 ] Hack to keep ScummVM from using CD-ROM

noreply at sourceforge.net noreply at sourceforge.net
Sat Sep 28 13:33:59 CEST 2002


Patches item #615842, was opened at 2002-09-28 13:33
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=615842&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Hack to keep ScummVM from using CD-ROM

Initial Comment:
This may be too ugly to apply, but...

I noticed that at least with the SDL backend, if you
tell ScummVM to use CD-ROM < 0 it won't lock the CD
tray because the CD initialisation fails. Since I
almost always use the MP3 versions of the audio tracks
I find this convenient. Especially if I want to use the
CD-ROM for something else.

This patch simply makes it a deliberate behaviour. It
also removes an unnecessary variable from 

(It could be argued that we should never use
PROP_OPEN_CD unless the game has the GF_AUDIOTRACKS
flag. For some reason that just didn't occur to me
until now.)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=615842&group_id=37116




More information about the Scummvm-tracker mailing list