Skip to content

Commit

Permalink
VOYEUR: Fix playback of audio events on VCR, thanks to Bakhtosh
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 7, 2017
1 parent 0338733 commit ed04ef4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions engines/voyeur/voyeur_game.cpp
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit ed04ef4

Please sign in to comment.