aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source
diff options
context:
space:
mode:
authorAndre Heider2009-09-27 16:06:06 +0000
committerAndre Heider2009-09-27 16:06:06 +0000
commitf4597ee83ecc3ecda72f99714e24e5e03d14179a (patch)
treec280239d41ca1a85abccf4fa80ad927fe36e7c19 /backends/platform/ds/arm9/source
parentf34f2ee6cc336c6c6edcf74a1d8fa8e82bd7ee93 (diff)
downloadscummvm-rg350-f4597ee83ecc3ecda72f99714e24e5e03d14179a.tar.gz
scummvm-rg350-f4597ee83ecc3ecda72f99714e24e5e03d14179a.tar.bz2
scummvm-rg350-f4597ee83ecc3ecda72f99714e24e5e03d14179a.zip
Fixed compilation of the NDS port.
svn-id: r44410
Diffstat (limited to 'backends/platform/ds/arm9/source')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp4
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp
index 954a33b61d..5c5663f872 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.cpp
+++ b/backends/platform/ds/arm9/source/osystem_ds.cpp
@@ -124,7 +124,7 @@ int OSystem_DS::getGraphicsMode() const {
return -1;
}
-void OSystem_DS::initSize(uint width, uint height) {
+void OSystem_DS::initSize(uint width, uint height, const Graphics::PixelFormat *format) {
// For Lost in Time, the title screen is displayed in 640x400.
// In order to support this game, the screen mode is set, but
// all draw calls are ignored until the game switches to 320x200.
@@ -489,7 +489,7 @@ bool OSystem_DS::showMouse(bool visible) {
void OSystem_DS::warpMouse(int x, int y) {
}
-void OSystem_DS::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor, int targetCursorScale) {
+void OSystem_DS::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, u32 keycolor, int targetCursorScale, const Graphics::PixelFormat *format) {
if ((w > 0) && (w < 64) && (h > 0) && (h < 64)) {
memcpy(_cursorImage, buf, w * h);
_cursorW = w;
diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h
index 3db23a5687..760872b0d9 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.h
+++ b/backends/platform/ds/arm9/source/osystem_ds.h
@@ -88,7 +88,7 @@ public:
virtual bool setGraphicsMode(int mode);
bool setGraphicsMode(const char *name);
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);
@@ -111,7 +111,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 targetCursorScale = 1);
+ virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, u32 keycolor, int targetCursorScale, const Graphics::PixelFormat *format);
virtual bool pollEvent(Common::Event &event);
virtual uint32 getMillis();