VOYEUR: Fixes to keep credits on-screen during opening sequence

This commit is contained in:
Paul Gilbert 2014-02-03 23:00:59 -05:00
parent 0c1a0a28c2
commit 90b7d10a77

View File

@ -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;
}