aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorLars Skovlund2011-10-08 12:23:24 +0200
committerLars Skovlund2011-10-08 12:25:32 +0200
commitd88827b13facfd089707f3a9edd34c8ce112ff20 (patch)
tree52795347c16dba0e479e7519ebf6d726490ff265 /engines/sci
parent4192934e8ee0c230b0a8867ee9f9a65ec50cc7c7 (diff)
downloadscummvm-rg350-d88827b13facfd089707f3a9edd34c8ce112ff20.tar.gz
scummvm-rg350-d88827b13facfd089707f3a9edd34c8ce112ff20.tar.bz2
scummvm-rg350-d88827b13facfd089707f3a9edd34c8ce112ff20.zip
SCI: Fix black screen in LSL7 intro
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/frameout.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 6bd310f1a0..fcd22de7e1 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -368,7 +368,10 @@ void GfxFrameout::kernelFrameout() {
continue;
}
- if (it->planeBack)
+ // There is a race condition lurking in SQ6, which causes the game to hang in the intro, when teleporting to Polysorbate LX.
+ // Since I first wrote the patch, the race has stopped occurring for me though.
+ // I'll leave this for investigation later, when someone can reproduce.
+ if (it->pictureId == 0xffff)
_paint32->fillRect(it->planeRect, it->planeBack);
GuiResourceId planeMainPictureId = it->pictureId;