diff options
author | Martin Kiewitz | 2009-10-18 11:44:17 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-18 11:44:17 +0000 |
commit | 783198941e25459c113945a0e39dc4d6775eb79d (patch) | |
tree | cbf67d543f779322ac82fa4e7b3ecf988ba7615e /engines | |
parent | f5b7f85593e209c374a3870ab8ae86f7a1d737a2 (diff) | |
download | scummvm-rg350-783198941e25459c113945a0e39dc4d6775eb79d.tar.gz scummvm-rg350-783198941e25459c113945a0e39dc4d6775eb79d.tar.bz2 scummvm-rg350-783198941e25459c113945a0e39dc4d6775eb79d.zip |
SCI/newgui: Transitions workaround for lsl6 (till we find out what lsl6 sierra sci really does), fixes menu not drawn to screen
svn-id: r45218
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/gui/gui_transitions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/gui/gui_transitions.cpp b/engines/sci/gui/gui_transitions.cpp index 0dd7b56390..59a20d7e8a 100644 --- a/engines/sci/gui/gui_transitions.cpp +++ b/engines/sci/gui/gui_transitions.cpp @@ -162,6 +162,13 @@ void SciGuiTransitions::doit(Common::Rect picRect) { // Now we do the actual transition to the new screen doTransition(_number, false); + if (picRect.bottom != 320) { + // TODO: this is a workaround for lsl6 not showing menubar when playing + // There is some new code in the sierra sci in ShowPic that seems to do something similar to this + _screen->copyToScreen(); + g_system->updateScreen(); + } + _screen->_picNotValid = 0; } |