Fixed several small bugs; among other things, the emulator now compiles without warnings when using DEBUG=y as well.

This commit is contained in:
OBattler
2017-08-23 17:44:57 +02:00
parent 963459a9ef
commit 2da64b5f55
21 changed files with 53 additions and 54 deletions

View File

@@ -199,7 +199,7 @@ void midi_write(uint8_t val)
{
midi_sysex_data[midi_pos++] = 0xf7;
if ((midi_sysex_start) && (midi_pos >= 4) && (midi_pos <= 9) && (midi_sysex_data[1] == 0x411) && (midi_sysex_data[3] == 0x16))
if ((midi_sysex_start) && (midi_pos >= 4) && (midi_pos <= 9) && (midi_sysex_data[1] == 0x41) && (midi_sysex_data[3] == 0x16))
{
/* pclog("MIDI: Skipping invalid MT-32 SysEx MIDI message\n"); */
}