Fixes ScummEngine_v70he::setDefaultCursor to work in 16-bit, using a temporary hack.
svn-id: r41204
This commit is contained in:
parent
ccee18a489
commit
d65bbe1d7a
5 changed files with 101 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue