diff options
-rw-r--r-- | engines/hopkins/computer.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/sound.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp index 74c1c644bd..cddc1f18c1 100644 --- a/engines/hopkins/computer.cpp +++ b/engines/hopkins/computer.cpp @@ -786,6 +786,8 @@ void ComputerManager::PLAY_BRIQUE() { // Play loop do { + _vm->_soundManager.checkSounds(); + RAQX = _vm->_eventsManager.XMOUSE(); if (_vm->_eventsManager.souris_x <= 4) RAQX = 5; diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp index 546a792b54..1f7e6a9ee0 100644 --- a/engines/hopkins/sound.cpp +++ b/engines/hopkins/sound.cpp @@ -840,6 +840,7 @@ void SoundManager::PLAY_SAMPLE_SDL(int voiceIndex, int wavIndex) { int volume = (voiceIndex == 2) ? VOICEVOL * 255 / 16 : SOUNDVOL * 255 / 16; // Start the voice playing + Swav[wavIndex]._audioStream->rewind(); _vm->_mixer->playStream(Audio::Mixer::kSFXSoundType, &Swav[wavIndex]._soundHandle, Swav[wavIndex]._audioStream, -1, volume, 0, DisposeAfterUse::NO); } |