diff options
author | Paul Gilbert | 2014-02-02 14:15:59 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-02 14:15:59 -0500 |
commit | a518102b21c7704c5d67a764b20973188e881932 (patch) | |
tree | 8aeb6e5105b73882b0694e2dcad17450d284f56f /engines | |
parent | a2b77b665e7af8c5b18494ccc7af2522cbac6380 (diff) | |
download | scummvm-rg350-a518102b21c7704c5d67a764b20973188e881932.tar.gz scummvm-rg350-a518102b21c7704c5d67a764b20973188e881932.tar.bz2 scummvm-rg350-a518102b21c7704c5d67a764b20973188e881932.zip |
VOYEUR: Fix for crash in playAudio
Diffstat (limited to 'engines')
-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 9f941bc1ac..2c6e5eb15f 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -591,9 +591,9 @@ void VoyeurEngine::playAVideoDuration(int videoId, int duration) { void VoyeurEngine::playAudio(int audioId) { _bVoy->getBoltGroup(0x7F00); _graphicsManager._backgroundPage = _bVoy->boltEntry(0x7F00 + - BLIND_TABLE[audioId])._picResource; + BLIND_TABLE[audioId] * 2)._picResource; _graphicsManager._backColors = _bVoy->boltEntry(0x7F01 + - BLIND_TABLE[audioId])._cMapResource; + BLIND_TABLE[audioId] * 2)._cMapResource; (*_graphicsManager._vPort)->setupViewPort(); _graphicsManager._backColors->startFade(); |