diff options
author | Jody Northup | 2009-06-06 01:16:04 +0000 |
---|---|---|
committer | Jody Northup | 2009-06-06 01:16:04 +0000 |
commit | 56e5920bba753820c457c078237a8c06241302ed (patch) | |
tree | 1cbbb95462b52dfcaa9ae17ee69d412094851f21 /common | |
parent | 8ff3a568fa8fe564749080a9af5e20b897933d93 (diff) | |
download | scummvm-rg350-56e5920bba753820c457c078237a8c06241302ed.tar.gz scummvm-rg350-56e5920bba753820c457c078237a8c06241302ed.tar.bz2 scummvm-rg350-56e5920bba753820c457c078237a8c06241302ed.zip |
Corrected cursor display errors introduced by revision 41204, reimplemented 16-bit cursor support in a less hacky, but still temporary way.
svn-id: r41209
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/system.h b/common/system.h index eb01093049..ddbcdcc546 100644 --- a/common/system.h +++ b/common/system.h @@ -688,10 +688,10 @@ public: * @param cursorTargetScale scale factor which cursor is designed for */ #ifdef ENABLE_16BIT - //HACK made a second method as a quick and dirty workaround to avoid linker errors with engine libs - virtual void setMouseCursor16(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint16 keycolor = 65535, int cursorTargetScale = 1) = 0; -#endif + virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor = 0xFFFFFFFF, int cursorTargetScale = 1, uint8 bitDepth = 8) = 0; +#else virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspotX, int hotspotY, byte keycolor = 255, int cursorTargetScale = 1) = 0; +#endif /** |