aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJamieson Christian2003-06-01 04:05:13 +0000
committerJamieson Christian2003-06-01 04:05:13 +0000
commit452735e320894939283b9e10ae8ffb11a2811d93 (patch)
tree20bc685c14790a82d1f6f854cfc1fc4b013beafc /sound
parentfa481d90e5735c079b12df1b3a8b17a8081ce644 (diff)
downloadscummvm-rg350-452735e320894939283b9e10ae8ffb11a2811d93.tar.gz
scummvm-rg350-452735e320894939283b9e10ae8ffb11a2811d93.tar.bz2
scummvm-rg350-452735e320894939283b9e10ae8ffb11a2811d93.zip
Some last SysEx cleanup.
svn-id: r8223
Diffstat (limited to 'sound')
-rw-r--r--sound/mpu401.cpp11
-rw-r--r--sound/mpu401.h2
2 files changed, 0 insertions, 13 deletions
diff --git a/sound/mpu401.cpp b/sound/mpu401.cpp
index 0a2e0c42ca..cd435d5d95 100644
--- a/sound/mpu401.cpp
+++ b/sound/mpu401.cpp
@@ -88,17 +88,6 @@ MidiDriver_MPU401::MidiDriver_MPU401() : MidiDriver() {
}
}
-void MidiDriver_MPU401::sysEx_customInstrument (byte channel, uint32 type, byte *instr) {
- if (type != 'ROL ')
- return;
-
- // The SysEx stream for a Roland MT-32 instrument definition starts with
- // the Roland manufacturer ID. So we just need to substitute the appropriate
- // device # (i.e. channel), and go.
- instr[1] = channel;
- sysEx (instr, 253);
-}
-
MidiChannel *MidiDriver_MPU401::allocateChannel() {
MidiChannel_MPU401 *chan;
uint i;
diff --git a/sound/mpu401.h b/sound/mpu401.h
index cd495b5040..ecf8cd0919 100644
--- a/sound/mpu401.h
+++ b/sound/mpu401.h
@@ -90,8 +90,6 @@ public:
void setTimerCallback(void *timer_param, void (*timer_proc) (void *));
uint32 getBaseTempo(void) { return 10000; } // 0x4A0000; } // Now referenced in microseconds between callbacks
- virtual void sysEx_customInstrument (byte channel, uint32 type, byte *instr);
-
MidiChannel *allocateChannel();
MidiChannel *getPercussionChannel() { return &_midi_channels [9]; }
};