diff options
author | Scott Thomas | 2011-06-03 19:49:56 +0930 |
---|---|---|
committer | Scott Thomas | 2011-06-03 19:49:56 +0930 |
commit | ae4b298bbb41a37a73b0b10eb021d9730bd8b839 (patch) | |
tree | b4c0ad5e472ce5e00b7d55dd9ed09cb1a001e909 /engines/groovie | |
parent | e23bd5b92b3643f0b1ddc3dc9a4aaf4a2203d46d (diff) | |
download | scummvm-rg350-ae4b298bbb41a37a73b0b10eb021d9730bd8b839.tar.gz scummvm-rg350-ae4b298bbb41a37a73b0b10eb021d9730bd8b839.tar.bz2 scummvm-rg350-ae4b298bbb41a37a73b0b10eb021d9730bd8b839.zip |
GROOVIE: Fix MusicPlayerIOS volume not correctly restoring on new song
Diffstat (limited to 'engines/groovie')
-rw-r--r-- | engines/groovie/music.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |