Fixes ScummEngine_v70he::setDefaultCursor to work in 16-bit, using a temporary hack.

svn-id: r41204
This commit is contained in:
Jody Northup 2009-06-05 23:59:40 +00:00
parent ccee18a489
commit d65bbe1d7a
5 changed files with 101 additions and 9 deletions

View file

@ -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();