mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 19:55:44 +00:00
Fixed volume fader problem under multiple MIDI drivers
svn-id: r7585
This commit is contained in:
parent
48f73469e0
commit
124a34f72a
@ -929,9 +929,10 @@ void IMuseInternal::expire_volume_faders (MidiDriver *midi) {
|
||||
_active_volume_faders = false;
|
||||
vf = _volume_fader;
|
||||
for (i = ARRAYSIZE(_volume_fader); i != 0; i--, vf++) {
|
||||
if (vf->active && vf->player->_midi == midi) {
|
||||
if (vf->active) {
|
||||
_active_volume_faders = true;
|
||||
vf->on_timer(false);
|
||||
if (vf->player->_midi == midi)
|
||||
vf->on_timer(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user