From ae4b298bbb41a37a73b0b10eb021d9730bd8b839 Mon Sep 17 00:00:00 2001 From: Scott Thomas Date: Fri, 3 Jun 2011 19:49:56 +0930 Subject: GROOVIE: Fix MusicPlayerIOS volume not correctly restoring on new song --- engines/groovie/music.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/groovie/music.cpp b/engines/groovie/music.cpp index 9a3903e9dc..33fc986193 100644 --- a/engines/groovie/music.cpp +++ b/engines/groovie/music.cpp @@ -845,6 +845,9 @@ bool MusicPlayerIOS::load(uint32 fileref, bool loop) { if (loop) audStream = Audio::makeLoopingAudioStream((Audio::RewindableAudioStream *)audStream, 0); + // MIDI player handles volume reset on load, IOS player doesn't - force update here + updateVolume(); + // Play! _vm->_system->getMixer()->playStream(Audio::Mixer::kMusicSoundType, &_handle, audStream); return true; -- cgit v1.2.3