[Scummvm-cvs-logs] CVS: scummvm/sound mpu401.cpp,1.10,1.11 mpu401.h,1.8,1.9
Jamieson Christian
jamieson630 at users.sourceforge.net
Sat May 31 21:06:02 CEST 2003
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv19978/sound
Modified Files:
mpu401.cpp mpu401.h
Log Message:
Some last SysEx cleanup.
Index: mpu401.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mpu401.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- mpu401.cpp 29 May 2003 21:29:54 -0000 1.10
+++ mpu401.cpp 1 Jun 2003 04:05:13 -0000 1.11
@@ -88,17 +88,6 @@
}
}
-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;
Index: mpu401.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mpu401.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- mpu401.h 23 May 2003 04:18:46 -0000 1.8
+++ mpu401.h 1 Jun 2003 04:05:13 -0000 1.9
@@ -90,8 +90,6 @@
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]; }
};
More information about the Scummvm-git-logs
mailing list