Properly UART-mode detection on input sysex messages

This commit is contained in:
ts-korhonen
2022-01-07 23:36:25 +02:00
parent 519d379d10
commit edc8c88062

View File

@@ -1388,7 +1388,7 @@ MPU401_InputSysex(void *p, uint8_t *buffer, uint32_t len, int abort)
#ifdef DOSBOX_CODE
if (mpu->mode == M_UART) {
#else
if (!mpu->intelligent && mpu->mode == M_UART) {
if (!mpu->intelligent || mpu->mode == M_UART) {
#endif
/* UART mode input. */
for (i = 0; i < len; i++)