diff options
Diffstat (limited to 'gui/GuiManager.cpp')
-rw-r--r-- | gui/GuiManager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/GuiManager.cpp b/gui/GuiManager.cpp index cf8b7b2d9d..bb988edc78 100644 --- a/gui/GuiManager.cpp +++ b/gui/GuiManager.cpp @@ -135,8 +135,12 @@ bool GuiManager::loadNewTheme(Common::String id, ThemeEngine::GraphicsMode gfx) delete _theme; if (_useStdCursor) { +#ifdef ENABLE_16BIT + CursorMan.popCursor16(); +#else CursorMan.popCursorPalette(); CursorMan.popCursor(); +#endif } // @@ -382,8 +386,12 @@ void GuiManager::saveState() { void GuiManager::restoreState() { if (_useStdCursor) { +#ifdef ENABLE_16BIT + CursorMan.popCursor16(); +#else CursorMan.popCursor(); CursorMan.popCursorPalette(); +#endif } _system->updateScreen(); |