[Scummvm-cvs-logs] SF.net SVN: scummvm:[50594] scummvm/trunk/engines/sci/graphics/screen.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Jul 2 11:50:34 CEST 2010
Revision: 50594
http://scummvm.svn.sourceforge.net/scummvm/?rev=50594&view=rev
Author: m_kiewitz
Date: 2010-07-02 09:50:33 +0000 (Fri, 02 Jul 2010)
Log Message:
-----------
SCI: added possible workaround or final solution for hires portraits not fully removed from screen in kq6 - needs to get investigated further but this will get a little bit difficult
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/screen.cpp
Modified: scummvm/trunk/engines/sci/graphics/screen.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/screen.cpp 2010-07-02 09:09:22 UTC (rev 50593)
+++ scummvm/trunk/engines/sci/graphics/screen.cpp 2010-07-02 09:50:33 UTC (rev 50594)
@@ -438,6 +438,11 @@
if (!_upscaledHires)
error("bitsRestore() called w/o being in upscaled hires mode");
bitsRestoreScreen(rect, memoryPtr, _displayScreen, _displayWidth);
+ // WORKAROUND - we are not sure what sierra is doing. If we don't do this here, portraits won't get fully removed
+ // from screen. Some lowres showBits() call is used for that and it's not covering the whole area
+ // We would need to find out inside the kq6 windows interpreter, but this here works already and seems not to have
+ // any side-effects. The whole hires is hacked into the interpreter, so maybe this is even right.
+ copyDisplayRectToScreen(rect);
}
}
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