mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 00:45:10 +00:00
I believe this fixes part of the music fading glitch in IHNM, but there's still
a slight problem when the intro fades the music down. Just before starting the new music, the old music is briefly set back to normal volume again. This could be a script bug, but I haven't investigated it any further. svn-id: r28833
This commit is contained in:
parent
cb2ce51236
commit
243a48138d
@ -566,7 +566,7 @@ void Music::play(uint32 resourceId, MusicFlags flags) {
|
||||
parser->property(MidiParser::mpCenterPitchWheelOnUnload, 1);
|
||||
|
||||
_player->_parser = parser;
|
||||
_player->setVolume(_vm->_musicVolume == 10 ? 255 : _vm->_musicVolume * 25);
|
||||
setVolume(_vm->_musicVolume == 10 ? 255 : _vm->_musicVolume * 25);
|
||||
|
||||
if (flags & MUSIC_LOOP)
|
||||
_player->setLoop(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user