diff options
author | Cameron Cawley | 2019-08-09 20:45:27 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-08-09 23:58:32 +0300 |
commit | fe5dddf901eb40ac3c04b7d01bd078d65dafc5ab (patch) | |
tree | 96dff48a310a3873fb9fc6cb48454997a26aba17 /engines/sci/graphics | |
parent | 4667aae4c407a3a54f44e07227897cf077f82fe2 (diff) | |
download | scummvm-rg350-fe5dddf901eb40ac3c04b7d01bd078d65dafc5ab.tar.gz scummvm-rg350-fe5dddf901eb40ac3c04b7d01bd078d65dafc5ab.tar.bz2 scummvm-rg350-fe5dddf901eb40ac3c04b7d01bd078d65dafc5ab.zip |
GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a Graphics::Cursor
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/cursor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index 56177db9f3..bcddd16083 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -514,9 +514,7 @@ void GfxCursor::kernelSetMacCursor(GuiResourceId viewNum, int loopNum, int celNu return; } - CursorMan.replaceCursor(macCursor->getSurface(), macCursor->getWidth(), macCursor->getHeight(), - macCursor->getHotspotX(), macCursor->getHotspotY(), macCursor->getKeyColor()); - CursorMan.replaceCursorPalette(macCursor->getPalette(), 0, 256); + CursorMan.replaceCursor(macCursor); delete macCursor; kernelShow(); |