Change: [Win32 MIDI] Send Roland reverb control message like TTD DOS does

This commit is contained in:
Niels Martin Hansen 2018-03-18 16:15:14 +01:00 committed by Michael Lutz
parent b902e01e10
commit 99a39c842c
1 changed files with 4 additions and 0 deletions

View File

@ -362,6 +362,10 @@ const char *MusicDriver_Win32::Start(const char * const *parm)
static byte gm_enable_sysex[] = { 0xF0, 0x7E, 0x00, 0x09, 0x01, 0xF7 };
TransmitSysexConst(&gm_enable_sysex[0], sizeof(gm_enable_sysex));
/* Roland-specific reverb room control, used by the original game */
static byte roland_reverb_sysex[] = { 0xF0, 0x41, 0x10, 0x42, 0x12, 0x40, 0x01, 0x30, 0x02, 0x04, 0x00, 0x40, 0x40, 0x00, 0x00, 0x09, 0xF7 };
TransmitSysexConst(&roland_reverb_sysex[0], sizeof(roland_reverb_sysex));
/* prepare multimedia timer */
TIMECAPS timecaps;
if (timeGetDevCaps(&timecaps, sizeof(timecaps)) == MMSYSERR_NOERROR) {