[Scummvm-cvs-logs] scummvm master -> 9e40a91b26fd6f4bab59ecd27f8777751c9cc223
bluegr
bluegr at gmail.com
Mon Dec 17 17:48:17 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9e40a91b26 MOHAWK: Set a 2x2 invisible cursor, instead of a 1x1
Commit: 9e40a91b26fd6f4bab59ecd27f8777751c9cc223
https://github.com/scummvm/scummvm/commit/9e40a91b26fd6f4bab59ecd27f8777751c9cc223
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2012-12-17T08:47:03-08:00
Commit Message:
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
Changed paths:
engines/mohawk/cursors.cpp
diff --git a/engines/mohawk/cursors.cpp b/engines/mohawk/cursors.cpp
index e73d4ed..7962379 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;
}
More information about the Scummvm-git-logs
mailing list