diff options
author | Filippos Karapetis | 2012-12-17 18:45:17 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-17 18:47:03 +0200 |
commit | 9e40a91b26fd6f4bab59ecd27f8777751c9cc223 (patch) | |
tree | 7c9d5ffefcf8ac3ebcc45dc885ea5d2a43e92482 /engines/mohawk | |
parent | 2cbb89fc1f92cbff15f01e3a9caa5a4582e3da2d (diff) | |
download | scummvm-rg350-9e40a91b26fd6f4bab59ecd27f8777751c9cc223.tar.gz scummvm-rg350-9e40a91b26fd6f4bab59ecd27f8777751c9cc223.tar.bz2 scummvm-rg350-9e40a91b26fd6f4bab59ecd27f8777751c9cc223.zip |
MOHAWK: Set a 2x2 invisible cursor, instead of a 1x1
This prevents an assert when hiding the mouse cursor while using a 2x scaled mode in Myst
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/cursors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp index e73d4ed6a3..7962379a5c 100644 --- a/engines/mohawk/cursors.cpp +++ b/engines/mohawk/cursors.cpp @@ -106,8 +106,8 @@ void MystCursorManager::hideCursor() { void MystCursorManager::setCursor(uint16 id) { // Zero means empty cursor if (id == 0) { - static const byte emptyCursor = 0; - CursorMan.replaceCursor(&emptyCursor, 1, 1, 0, 0, 0); + static const byte emptyCursor[4]; + CursorMan.replaceCursor(&emptyCursor, 2, 2, 0, 0, 0); return; } |