diff options
author | Paul Gilbert | 2014-02-03 23:00:59 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-03 23:00:59 -0500 |
commit | 90b7d10a77cfd0ed43dd792d82d148211c9371c1 (patch) | |
tree | 96ce5fa5bd5623f4efdabba9d373a94189969c1d /engines/voyeur | |
parent | 0c1a0a28c21fba8c165919b9565c2148026217db (diff) | |
download | scummvm-rg350-90b7d10a77cfd0ed43dd792d82d148211c9371c1.tar.gz scummvm-rg350-90b7d10a77cfd0ed43dd792d82d148211c9371c1.tar.bz2 scummvm-rg350-90b7d10a77cfd0ed43dd792d82d148211c9371c1.zip |
VOYEUR: Fixes to keep credits on-screen during opening sequence
Diffstat (limited to 'engines/voyeur')
-rw-r--r-- | engines/voyeur/voyeur.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp index 5886867168..150d567638 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -486,7 +486,7 @@ void VoyeurEngine::doOpening() { Common::copy((const byte *)frame->getPixels(), (const byte *)frame->getPixels() + 320 * 200, (byte *)_graphicsManager._screenSurface.getPixels()); - if (decoder.getCurFrame() >= READ_LE_UINT16(frameTable + frameIndex * 2)) { + if (decoder.getCurFrame() >= READ_LE_UINT32(frameTable + frameIndex * 4)) { if (creditShow) { // Show a credit textPic = _bVoy->boltEntry(frameIndex / 2 + 0x202)._picResource; @@ -495,7 +495,7 @@ void VoyeurEngine::doOpening() { creditShow = false; } else { - flipPageAndWait(); + textPic = nullptr; creditShow = true; } |