aboutsummaryrefslogtreecommitdiff
path: root/sound/mpu401.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mpu401.cpp')
-rw-r--r--sound/mpu401.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp
index 455c237299..303c42b6e4 100644
--- a/sound/mpu401.cpp
+++ b/sound/mpu401.cpp
@@ -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() {