[Scummvm-cvs-logs] SF.net SVN: scummvm: [20588] scummvm/trunk/backends/null/null.cpp

joostp at users.sourceforge.net joostp at users.sourceforge.net
Sat Feb 11 17:07:05 CET 2006


Revision: 20588
Author:   joostp
Date:     2006-02-11 17:06:26 -0800 (Sat, 11 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20588&view=rev

Log Message:
-----------
openCD() and pollCD() should return false, since they don't actually access a CD.

This avoids some common pitfalls in new backends based off of this, like e.g. the hang on the final chapter screen in MI1CD.

Modified Paths:
--------------
    scummvm/trunk/backends/null/null.cpp
Modified: scummvm/trunk/backends/null/null.cpp
===================================================================
--- scummvm/trunk/backends/null/null.cpp	2006-02-12 00:50:37 UTC (rev 20587)
+++ scummvm/trunk/backends/null/null.cpp	2006-02-12 01:06:26 UTC (rev 20588)
@@ -287,12 +287,12 @@
 
 bool OSystem_NULL::openCD(int drive)
 {
-	return true;
+	return false;
 }
 
 bool OSystem_NULL::pollCD()
 {
-	return true;
+	return false;
 }
 
 void OSystem_NULL::playCD(int track, int num_loops, int start_frame, int duration)







More information about the Scummvm-git-logs mailing list