aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem_gfx.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2012-06-08 23:20:28 -0700
committerEugene Sandulenko2012-06-08 23:20:28 -0700
commitec92a867da699f069a6adee41be89a50be0b9128 (patch)
tree6b14d8649afa0afb08f1bef2118328e8cc6e91e0 /backends/platform/wii/osystem_gfx.cpp
parent3968f3194893d88d1a8d73eef535b801e5415765 (diff)
parenta401f0a19e09d7d00a3ee94d928db82e658b7b48 (diff)
downloadscummvm-rg350-ec92a867da699f069a6adee41be89a50be0b9128.tar.gz
scummvm-rg350-ec92a867da699f069a6adee41be89a50be0b9128.tar.bz2
scummvm-rg350-ec92a867da699f069a6adee41be89a50be0b9128.zip
Merge pull request #243 from lordhoto/cursor-no-scale
ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
Diffstat (limited to 'backends/platform/wii/osystem_gfx.cpp')
-rw-r--r--backends/platform/wii/osystem_gfx.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp
index 83607984cc..a00cea8252 100644
--- a/backends/platform/wii/osystem_gfx.cpp
+++ b/backends/platform/wii/osystem_gfx.cpp
@@ -644,7 +644,7 @@ void OSystem_Wii::warpMouse(int x, int y) {
void OSystem_Wii::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX,
int hotspotY, uint32 keycolor,
- int cursorTargetScale,
+ bool dontScale,
const Graphics::PixelFormat *format) {
gfx_tex_format_t tex_format = GFX_TF_PALETTE_RGB5A3;
uint tw, th;
@@ -742,7 +742,8 @@ void OSystem_Wii::setMouseCursor(const byte *buf, uint w, uint h, int hotspotX,
_mouseHotspotX = hotspotX;
_mouseHotspotY = hotspotY;
- _cursorScale = cursorTargetScale;
+ // TODO: Adapt to new dontScale logic!
+ _cursorScale = 1;
if ((_texMouse.palette) && (oldKeycolor != _mouseKeyColor))
_cursorPaletteDirty = true;