mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
VOYEUR: Fix playback of audio events on VCR, thanks to Bakhtosh
This commit is contained in:
parent
0338733d4b
commit
ed04ef4929
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user