diff options
Diffstat (limited to 'engines/scumm/cursor.cpp')
| -rw-r--r-- | engines/scumm/cursor.cpp | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp index 5c695e58a5..190c337c63 100644 --- a/engines/scumm/cursor.cpp +++ b/engines/scumm/cursor.cpp @@ -113,12 +113,17 @@ void ScummEngine_v6::setCursorTransparency(int a) {  void ScummEngine::updateCursor() {  	int transColor = (_game.heversion >= 80) ? 5 : 255;  #ifdef ENABLE_RGB_COLOR -	CursorMan.replaceCursorFormat(_system->getScreenFormat()); -#endif +	CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height, +							_cursor.hotspotX, _cursor.hotspotY, +							(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor), +							(_game.heversion == 70 ? 2 : 1), +							_system->getScreenFormat()); +#else  	CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height,  							_cursor.hotspotX, _cursor.hotspotY,  							(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor),  							(_game.heversion == 70 ? 2 : 1)); +#endif  }  void ScummEngine_v6::grabCursor(int x, int y, int w, int h) {  | 
