summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-07-07 22:30:07 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-07-07 22:46:21 +0200
commit1e723934a13c0fbe54d48a0add5d3af8a82b1ac5 (patch)
tree362d72eab4602ae956132af1685ba415800c62ea /src
parenta35b43ce935aa421bf63724864e247eba1249ce1 (diff)
downloadopenttd-1e723934a13c0fbe54d48a0add5d3af8a82b1ac5.tar.xz
Fix 27384486e4: Error in GM Reset sysex data
Diffstat (limited to 'src')
-rw-r--r--src/music/midifile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music/midifile.cpp b/src/music/midifile.cpp
index 33d09c80b..6ee1f0e60 100644
--- a/src/music/midifile.cpp
+++ b/src/music/midifile.cpp
@@ -34,7 +34,7 @@ static MidiFile *_midifile_instance = nullptr;
*/
const byte *MidiGetStandardSysexMessage(MidiSysexMessage msg, size_t &length)
{
- static byte reset_gm_sysex[] = { 0xF0, 0x7E, 0x00, 0x09, 0x01, 0xF7 };
+ static byte reset_gm_sysex[] = { 0xF0, 0x7E, 0x7F, 0x09, 0x01, 0xF7 };
static byte reset_gs_sysex[] = { 0xF0, 0x41, 0x10, 0x42, 0x12, 0x40, 0x00, 0x7F, 0x00, 0x41, 0xF7 };
static byte reset_xg_sysex[] = { 0xF0, 0x43, 0x10, 0x4C, 0x00, 0x00, 0x7E, 0x00, 0xF7 };
static byte roland_reverb_sysex[] = { 0xF0, 0x41, 0x10, 0x42, 0x12, 0x40, 0x01, 0x30, 0x02, 0x04, 0x00, 0x40, 0x40, 0x00, 0x00, 0x09, 0xF7 };