From 7d350b215c62f6d08c9bc33da9648fd72ee5599e Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Fri, 21 Aug 2009 19:11:02 +0000 Subject: fix compilation after RGB API changes svn-id: r43606 --- backends/platform/psp/osys_psp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/platform/psp/osys_psp.cpp') 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); -- cgit v1.2.3