GROOVIE: Fix MusicPlayerIOS volume not correctly restoring on new song
This commit is contained in:
parent
e23bd5b92b
commit
ae4b298bbb
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue