aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamieson Christian2003-06-01 00:42:01 +0000
committerJamieson Christian2003-06-01 00:42:01 +0000
commit5e46155d3add5bcfe1a8f9378f2e6d21abbe90e2 (patch)
tree907bde60060d8f3207180271d149dc41a5e2cfee
parentc5ecbf65cbe526aa46af04140c480d17c61300e2 (diff)
downloadscummvm-rg350-5e46155d3add5bcfe1a8f9378f2e6d21abbe90e2.tar.gz
scummvm-rg350-5e46155d3add5bcfe1a8f9378f2e6d21abbe90e2.tar.bz2
scummvm-rg350-5e46155d3add5bcfe1a8f9378f2e6d21abbe90e2.zip
Welcome message for MT-32 panels.
More for SysEx tests than anything. svn-id: r8202
-rw-r--r--scumm/imuse.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp
index 504af874e1..2c3193a096 100644
--- a/scumm/imuse.cpp
+++ b/scumm/imuse.cpp
@@ -1117,6 +1117,13 @@ void IMuseInternal::initMidiDriver (MidiDriver *midi) {
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);
}