[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,1.50,1.51

Max Horn fingolfin at users.sourceforge.net
Mon Oct 7 11:37:03 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv28791/scumm

Modified Files:
	scummvm.cpp 
Log Message:
patch #619276: Don't hog CD-ROM for non-CD games

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- scummvm.cpp	3 Oct 2002 23:16:10 -0000	1.50
+++ scummvm.cpp	7 Oct 2002 18:36:09 -0000	1.51
@@ -116,7 +116,7 @@
 	/* 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





More information about the Scummvm-git-logs mailing list