From d88827b13facfd089707f3a9edd34c8ce112ff20 Mon Sep 17 00:00:00 2001 From: Lars Skovlund Date: Sat, 8 Oct 2011 12:23:24 +0200 Subject: SCI: Fix black screen in LSL7 intro --- engines/sci/graphics/frameout.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/sci') 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; -- cgit v1.2.3