[Scummvm-cvs-logs] SF.net SVN: scummvm:[45218] scummvm/trunk/engines/sci/gui/gui_transitions. cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sun Oct 18 13:44:18 CEST 2009
Revision: 45218
http://scummvm.svn.sourceforge.net/scummvm/?rev=45218&view=rev
Author: m_kiewitz
Date: 2009-10-18 11:44:17 +0000 (Sun, 18 Oct 2009)
Log Message:
-----------
SCI/newgui: Transitions workaround for lsl6 (till we find out what lsl6 sierra sci really does), fixes menu not drawn to screen
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_transitions.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_transitions.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_transitions.cpp 2009-10-18 10:50:07 UTC (rev 45217)
+++ scummvm/trunk/engines/sci/gui/gui_transitions.cpp 2009-10-18 11:44:17 UTC (rev 45218)
@@ -162,6 +162,13 @@
// 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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list