aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2006-02-12 01:06:26 +0000
committerJoost Peters2006-02-12 01:06:26 +0000
commitc595b65aba212580753f71c1ee3a7cd0bfc1d81d (patch)
tree028847fa00133a28c2a5581c81f979e9fe0be87f
parentf661bbe9aaac02eb1e3ecef03860701749425a17 (diff)
downloadscummvm-rg350-c595b65aba212580753f71c1ee3a7cd0bfc1d81d.tar.gz
scummvm-rg350-c595b65aba212580753f71c1ee3a7cd0bfc1d81d.tar.bz2
scummvm-rg350-c595b65aba212580753f71c1ee3a7cd0bfc1d81d.zip
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. svn-id: r20588
-rw-r--r--backends/null/null.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/null/null.cpp b/backends/null/null.cpp
index 6c9ed754ae..6a627787d3 100644
--- a/backends/null/null.cpp
+++ b/backends/null/null.cpp
@@ -287,12 +287,12 @@ int OSystem_NULL::getOutputSampleRate() const
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)