mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-22 12:12:16 +00:00
Send All Notes Off to every channel on close
svn-id: r9593
This commit is contained in:
parent
73eda504b9
commit
4353f4531c
@ -97,6 +97,9 @@ void MidiDriver_MPU401::close() {
|
||||
g_system->unlock_mutex (_mutex);
|
||||
g_system->delete_mutex (_mutex);
|
||||
}
|
||||
int i;
|
||||
for (i = 0; i < 16; ++i)
|
||||
send (0x7B << 8 | 0xB0 | i);
|
||||
}
|
||||
|
||||
MidiChannel *MidiDriver_MPU401::allocateChannel() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user