aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJoost Peters2004-07-20 14:26:32 +0000
committerJoost Peters2004-07-20 14:26:32 +0000
commit33ef51b7a7026cc51bdb42ec4ac4e06abf412120 (patch)
tree17c5470976250fa66c166aa5ec7112972895422e /backends
parent521d46b425aa699d0554330b0c43118083fca6a5 (diff)
downloadscummvm-rg350-33ef51b7a7026cc51bdb42ec4ac4e06abf412120.tar.gz
scummvm-rg350-33ef51b7a7026cc51bdb42ec4ac4e06abf412120.tar.bz2
scummvm-rg350-33ef51b7a7026cc51bdb42ec4ac4e06abf412120.zip
fix null backend driver
svn-id: r14289
Diffstat (limited to 'backends')
-rw-r--r--backends/null/null.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/backends/null/null.cpp b/backends/null/null.cpp
index ac9a049eed..3e2b07cd53 100644
--- a/backends/null/null.cpp
+++ b/backends/null/null.cpp
@@ -35,7 +35,7 @@ public:
public:
- OSystem_NULL();
+ OSystem_NULL();
virtual ~OSystem_NULL();
virtual bool hasFeature(Feature f);
@@ -103,6 +103,9 @@ public:
};
+static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
+ {0, 0, 0}
+};
OSystem_NULL::OSystem_NULL()
{
@@ -128,7 +131,7 @@ bool OSystem_NULL::getFeatureState(Feature f)
const OSystem::GraphicsMode* OSystem_NULL::getSupportedGraphicsModes() const
{
- return NULL;
+ return s_supportedGraphicsModes;
}