From ed04ef492994549188b98be0bae42bc32313b967 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 6 Aug 2017 22:58:09 -0400 Subject: VOYEUR: Fix playback of audio events on VCR, thanks to Bakhtosh --- engines/voyeur/voyeur_game.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engines/voyeur') diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index e9591955fc..2c84a4c471 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -674,9 +674,9 @@ void VoyeurEngine::reviewTape() { _bVoy->getBoltGroup(0x7F00); _screen->_backgroundPage = _bVoy->boltEntry(0x7F00 + - BLIND_TABLE[_audioVideoId])._picResource; + BLIND_TABLE[_audioVideoId] * 2)._picResource; _screen->_backColors = _bVoy->boltEntry(0x7F01 + - BLIND_TABLE[_audioVideoId])._cMapResource; + BLIND_TABLE[_audioVideoId] * 2)._cMapResource; _screen->_vPort->setupViewPort(_screen->_backgroundPage); _screen->_backColors->startFade(); @@ -688,7 +688,10 @@ void VoyeurEngine::reviewTape() { // Play sound for the given duration _soundManager->setVOCOffset(_voy->_vocSecondsOffset); - _soundManager->startVOCPlay(_audioVideoId + 159); + Common::String filename = _soundManager->getVOCFileName( + _audioVideoId + 159); + _soundManager->startVOCPlay(filename); + uint32 secondsDuration = e._computerOff; _eventsManager->getMouseInfo(); -- cgit v1.2.3