[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,2.59,2.60
Jamieson Christian
jamieson630 at users.sourceforge.net
Sat May 31 17:43:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv2481/scummvm/scumm
Modified Files:
imuse.cpp
Log Message:
Welcome message for MT-32 panels.
More for SysEx tests than anything.
Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 2.59
retrieving revision 2.60
diff -u -d -r2.59 -r2.60
--- imuse.cpp 28 May 2003 11:56:49 -0000 2.59
+++ imuse.cpp 1 Jun 2003 00:42:01 -0000 2.60
@@ -1117,6 +1117,13 @@
if (result)
error("IMuse initialization - ", MidiDriver::getErrorName(result));
+ // Display a welcome message on MT-32 displays.
+ byte welcome[] = {
+ 0x41, 0x00, 0x16, 0x11, 0x20, 0x00, 0x00, 0x00, 0x00, 0x14,
+ ' ','W','e','l','c','o','m','e',' ','t','o',' ','S','c','u','m','m','V','M',' '
+ };
+ midi->sysEx (welcome, ARRAYSIZE(welcome));
+
// Connect to the driver's timer
midi->setTimerCallback (midi, &IMuseInternal::midiTimerCallback);
}
More information about the Scummvm-git-logs
mailing list