diff options
author | Sven Hesse | 2010-09-30 13:04:43 +0000 |
---|---|---|
committer | Sven Hesse | 2010-09-30 13:04:43 +0000 |
commit | 947540c0891afb42d9753fe2d05bdf4b5753d0ff (patch) | |
tree | bf4ca843db20dd02ca01763091fac8bf7601e864 /engines | |
parent | 1d17a4157f068a988fd30e821c62cd2148e1a5f8 (diff) | |
download | scummvm-rg350-947540c0891afb42d9753fe2d05bdf4b5753d0ff.tar.gz scummvm-rg350-947540c0891afb42d9753fe2d05bdf4b5753d0ff.tar.bz2 scummvm-rg350-947540c0891afb42d9753fe2d05bdf4b5753d0ff.zip |
GOB: Fix 16bit cursors
svn-id: r52952
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/draw_v1.cpp | 2 | ||||
-rw-r--r-- | engines/gob/draw_v2.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/draw_v1.cpp b/engines/gob/draw_v1.cpp index f768ca29c2..6496229282 100644 --- a/engines/gob/draw_v1.cpp +++ b/engines/gob/draw_v1.cpp @@ -125,7 +125,7 @@ void Draw_v1::animateCursor(int16 cursor) { (cursorIndex + 1) * _cursorWidth - 1, _cursorHeight - 1, 0, 0); CursorMan.replaceCursor(_scummvmCursor->getData(), - _cursorWidth, _cursorHeight, hotspotX, hotspotY, 0); + _cursorWidth, _cursorHeight, hotspotX, hotspotY, 0, 1, &_vm->getPixelFormat()); if (_frontSurface != _backSurface) { _showCursor = 3; diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index bc39ce2018..bb2a57b790 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -150,7 +150,7 @@ void Draw_v2::animateCursor(int16 cursor) { (cursorIndex + 1) * _cursorWidth - 1, _cursorHeight - 1, 0, 0); CursorMan.replaceCursor(_scummvmCursor->getData(), - _cursorWidth, _cursorHeight, hotspotX, hotspotY, 0); + _cursorWidth, _cursorHeight, hotspotX, hotspotY, 0, 1, &_vm->getPixelFormat()); if (_frontSurface != _backSurface) { if (!_noInvalidated) { |