diff options
author | Jody Northup | 2009-06-13 10:24:52 +0000 |
---|---|---|
committer | Jody Northup | 2009-06-13 10:24:52 +0000 |
commit | 350dc4290fd5dd8f28af9e63713b48ef2c131f09 (patch) | |
tree | af86a10ccd48c275b362ca0407ddfd16180a8c0c /engines/scumm | |
parent | 2ee51a8fa189fc7817fd6d78533664ec870fca48 (diff) | |
download | scummvm-rg350-350dc4290fd5dd8f28af9e63713b48ef2c131f09.tar.gz scummvm-rg350-350dc4290fd5dd8f28af9e63713b48ef2c131f09.tar.bz2 scummvm-rg350-350dc4290fd5dd8f28af9e63713b48ef2c131f09.zip |
Fixed cursor code to keep track of cursor formats so that ThemeEngine and/or GuiManager cursors will render properly over the game (on spacebar hit, for instance)
svn-id: r41491
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/cursor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp index fcde07cbdf..30483a638c 100644 --- a/engines/scumm/cursor.cpp +++ b/engines/scumm/cursor.cpp @@ -112,6 +112,9 @@ void ScummEngine_v6::setCursorTransparency(int a) { void ScummEngine::updateCursor() { int transColor = (_game.heversion >= 80) ? 5 : 255; +#ifdef ENABLE_16BIT + CursorMan.replaceCursorFormat(_system->getScreenFormat()); +#endif CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height, _cursor.hotspotX, _cursor.hotspotY, (_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor), |