aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2005-04-03 18:02:27 +0000
committerMarcus Comstedt2005-04-03 18:02:27 +0000
commit8fe07f1f3ed25beee1dd244f81f3153a2265edc7 (patch)
tree748dbfb97b3249dbf896b6b6eeb0027f771cc1bc /backends
parent17aa2d6dfd5a023b1c57fcce593f71c23f3f133e (diff)
downloadscummvm-rg350-8fe07f1f3ed25beee1dd244f81f3153a2265edc7.tar.gz
scummvm-rg350-8fe07f1f3ed25beee1dd244f81f3153a2265edc7.tar.bz2
scummvm-rg350-8fe07f1f3ed25beee1dd244f81f3153a2265edc7.zip
Added new cursorTargetScale parameter to setMouseCursor().
svn-id: r17352
Diffstat (limited to 'backends')
-rw-r--r--backends/dc/dc.h2
-rw-r--r--backends/dc/display.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/backends/dc/dc.h b/backends/dc/dc.h
index cf6fd59726..10f2c6c33b 100644
--- a/backends/dc/dc.h
+++ b/backends/dc/dc.h
@@ -85,7 +85,7 @@ class OSystem_Dreamcast : public OSystem {
void warpMouse(int x, int y);
// Set the bitmap that's used when drawing the cursor.
- void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor);
+ void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, byte keycolor, int cursorTargetScale);
// Shaking is used in SCUMM. Set current shake position.
void setShakePos(int shake_pos);
diff --git a/backends/dc/display.cpp b/backends/dc/display.cpp
index 2408db0fc8..c470e713e1 100644
--- a/backends/dc/display.cpp
+++ b/backends/dc/display.cpp
@@ -224,7 +224,8 @@ void OSystem_Dreamcast::warpMouse(int x, int y)
}
void OSystem_Dreamcast::setMouseCursor(const byte *buf, uint w, uint h,
- int hotspot_x, int hotspot_y, byte keycolor)
+ int hotspot_x, int hotspot_y,
+ byte keycolor, int cursorTargetScale)
{
_ms_cur_w = w;
_ms_cur_h = h;