diff options
| author | Paul Gilbert | 2014-02-01 11:29:49 -0500 | 
|---|---|---|
| committer | Paul Gilbert | 2014-02-01 11:29:49 -0500 | 
| commit | 37402e06e5f55896f3bd8a7bf8a62bca16d1c7b1 (patch) | |
| tree | fcdfd9db64311e56b06b72f41eb09e7373753983 /engines/voyeur/files_threads.cpp | |
| parent | cbebf203d673d68112b9bcee5dea8bee0b755a70 (diff) | |
| download | scummvm-rg350-37402e06e5f55896f3bd8a7bf8a62bca16d1c7b1.tar.gz scummvm-rg350-37402e06e5f55896f3bd8a7bf8a62bca16d1c7b1.tar.bz2 scummvm-rg350-37402e06e5f55896f3bd8a7bf8a62bca16d1c7b1.zip | |
VOYEUR: Correct mistake in debugger command.. it's time expired, not remaining
Diffstat (limited to 'engines/voyeur/files_threads.cpp')
| -rw-r--r-- | engines/voyeur/files_threads.cpp | 30 | 
1 files changed, 2 insertions, 28 deletions
| diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index 03e393936a..3e2fa6f7bc 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -384,39 +384,13 @@ void ThreadResource::parsePlayCommands() {  					_vm->_voy._vocSecondsOffset = _vm->_voy._RTVNum - _vm->_voy._field468;  					_vm->_voy.addAudioEventStart(); +					// Play the audio  					assert(_vm->_audioVideoId < 38); -					_vm->_bVoy->getBoltGroup(0x7F00); -					_vm->_graphicsManager._backgroundPage = _vm->_bVoy->boltEntry( -						0x7F00 + BLIND_TABLE[_vm->_audioVideoId])._picResource; -					_vm->_graphicsManager._backColors = _vm->_bVoy->boltEntry(0x7F01 +  -						BLIND_TABLE[_vm->_audioVideoId])._cMapResource; - -					(*_vm->_graphicsManager._vPort)->setupViewPort(); -					_vm->_graphicsManager._backColors->startFade(); -					_vm->flipPageAndWaitForFade(); +					_vm->playAudio(_vm->_audioVideoId); -					_vm->_voy._field478 &= ~1; -					_vm->_soundManager.setVOCOffset(_vm->_voy._vocSecondsOffset); -					Common::String filename = _vm->_soundManager.getVOCFileName( -						_vm->_audioVideoId + 159); -					_vm->_soundManager.startVOCPlay(filename); -					_vm->_voy._field478 |= 16; -					_vm->_eventsManager.startCursorBlink(); - -					while (!_vm->shouldQuit() && !_vm->_eventsManager._mouseClicked &&  -							_vm->_soundManager.getVOCStatus()) -						_vm->_eventsManager.delayClick(1); - -					_vm->_voy._field478 |= 1; -					_vm->_soundManager.stopVOCPlay();  					_vm->_voy.addAudioEventEnd();  					_vm->_eventsManager.incrementTime(1);  					_vm->_eventsManager.incrementTime(1); - -					_vm->_bVoy->freeBoltGroup(0x7F00); -					_vm->_voy._field478 &= ~0x10; -					_vm->_audioVideoId = -1; -					_vm->_voy._field470 = 129;  					parseIndex = 999;  				}				  			}  | 
