aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/osys_psp.cpp
diff options
context:
space:
mode:
authorJoost Peters2009-08-21 19:11:02 +0000
committerJoost Peters2009-08-21 19:11:02 +0000
commit7d350b215c62f6d08c9bc33da9648fd72ee5599e (patch)
treee0828cb6e606d3a8729fce75b3ba574faebaad6a /backends/platform/psp/osys_psp.cpp
parentd6f3e28c2db6dd31e17cf304586de2f91d489791 (diff)
downloadscummvm-rg350-7d350b215c62f6d08c9bc33da9648fd72ee5599e.tar.gz
scummvm-rg350-7d350b215c62f6d08c9bc33da9648fd72ee5599e.tar.bz2
scummvm-rg350-7d350b215c62f6d08c9bc33da9648fd72ee5599e.zip
fix compilation after RGB API changes
svn-id: r43606
Diffstat (limited to 'backends/platform/psp/osys_psp.cpp')
-rw-r--r--backends/platform/psp/osys_psp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp
index 5e461f45e0..d4b1c61537 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -143,7 +143,7 @@ int OSystem_PSP::getGraphicsMode() const {
return -1;
}
-void OSystem_PSP::initSize(uint width, uint height) {
+void OSystem_PSP::initSize(uint width, uint height, const Graphics::PixelFormat *format) {
_overlayWidth = _screenWidth = width;
_overlayHeight = _screenHeight = height;
@@ -382,7 +382,7 @@ void OSystem_PSP::warpMouse(int x, int y) {
_mouseY = y;
}
-void OSystem_PSP::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor, int cursorTargetScale) {
+void OSystem_PSP::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format) {
//TODO: handle cursorTargetScale
_mouseWidth = w;
_mouseHeight = h;
@@ -390,7 +390,7 @@ void OSystem_PSP::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX,
_mouseHotspotX = hotspotX;
_mouseHotspotY = hotspotY;
- _mouseKeyColour = keycolor;
+ _mouseKeyColour = keycolor & 0xFF;
free(_mouseBuf);