diff options
author | Martin Kiewitz | 2010-07-02 09:50:33 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-02 09:50:33 +0000 |
commit | 7b6be52f227aeaf2b544b3b35dd872f3643b1ff4 (patch) | |
tree | 035c28065174a930dd5e040c5e861c5d2b1935ac /engines/sci/graphics | |
parent | b8ff75047bdc9dfa591c66ceab6f421cb92ff89f (diff) | |
download | scummvm-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/sci/graphics')
-rw-r--r-- | engines/sci/graphics/screen.cpp | 5 |
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); } } |