From c595b65aba212580753f71c1ee3a7cd0bfc1d81d Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sun, 12 Feb 2006 01:06:26 +0000 Subject: 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 --- backends/null/null.cpp | 4 ++-- 1 file 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) -- cgit v1.2.3