aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-02 09:50:33 +0000
committerMartin Kiewitz2010-07-02 09:50:33 +0000
commit7b6be52f227aeaf2b544b3b35dd872f3643b1ff4 (patch)
tree035c28065174a930dd5e040c5e861c5d2b1935ac /engines
parentb8ff75047bdc9dfa591c66ceab6f421cb92ff89f (diff)
downloadscummvm-rg350-7b6be52f227aeaf2b544b3b35dd872f3643b1ff4.tar.gz
scummvm-rg350-7b6be52f227aeaf2b544b3b35dd872f3643b1ff4.tar.bz2
scummvm-rg350-7b6be52f227aeaf2b544b3b35dd872f3643b1ff4.zip
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
svn-id: r50594
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/screen.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp
index c446a98768..a314405eb1 100644
--- a/engines/sci/graphics/screen.cpp
+++ b/engines/sci/graphics/screen.cpp
@@ -438,6 +438,11 @@ void GfxScreen::bitsRestore(byte *memoryPtr) {
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);
}
}