aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Peters2009-11-18 22:59:31 +0000
committerJoost Peters2009-11-18 22:59:31 +0000
commit5e56184616d6ab0f971b0e84bb62756219ae786c (patch)
treeffadde67694073c68dfb385a65bd9427033cd414
parent286a648ecd4bfd59aafc427ae8f5e563cbf4aac9 (diff)
downloadscummvm-rg350-5e56184616d6ab0f971b0e84bb62756219ae786c.tar.gz
scummvm-rg350-5e56184616d6ab0f971b0e84bb62756219ae786c.tar.bz2
scummvm-rg350-5e56184616d6ab0f971b0e84bb62756219ae786c.zip
fix compilation of null backend
svn-id: r45979
-rw-r--r--backends/platform/null/null.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/null/null.cpp b/backends/platform/null/null.cpp
index 26e4654dde..1539dfe8fd 100644
--- a/backends/platform/null/null.cpp
+++ b/backends/platform/null/null.cpp
@@ -74,7 +74,7 @@ public:
bool setGraphicsMode(const char *name);
virtual bool setGraphicsMode(int mode);
virtual int getGraphicsMode() const;
- virtual void initSize(uint width, uint height);
+ virtual void initSize(uint width, uint height, const Graphics::PixelFormat *format);
virtual int16 getHeight();
virtual int16 getWidth();
virtual void setPalette(const byte *colors, uint start, uint num);
@@ -97,7 +97,7 @@ public:
virtual bool showMouse(bool visible);
virtual void warpMouse(int x, int y);
- virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int cursorTargetScale = 1);
+ virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format);
virtual bool pollEvent(Common::Event &event);
virtual uint32 getMillis();
@@ -197,7 +197,7 @@ int OSystem_NULL::getGraphicsMode() const {
return -1;
}
-void OSystem_NULL::initSize(uint width, uint height) {
+void OSystem_NULL::initSize(uint width, uint height, const Graphics::PixelFormat *format) {
}
int16 OSystem_NULL::getHeight() {
@@ -262,7 +262,7 @@ bool OSystem_NULL::showMouse(bool visible) {
void OSystem_NULL::warpMouse(int x, int y) {
}
-void OSystem_NULL::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor, int cursorTargetScale) {
+void OSystem_NULL::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format) {
}
bool OSystem_NULL::pollEvent(Common::Event &event) {