Merge pull request #1983 from ts-korhonen/midi-fix
Fix UART-mode detection on input sysex messages
This commit is contained in:
@@ -1388,7 +1388,7 @@ MPU401_InputSysex(void *p, uint8_t *buffer, uint32_t len, int abort)
|
|||||||
#ifdef DOSBOX_CODE
|
#ifdef DOSBOX_CODE
|
||||||
if (mpu->mode == M_UART) {
|
if (mpu->mode == M_UART) {
|
||||||
#else
|
#else
|
||||||
if (!mpu->intelligent && mpu->mode == M_UART) {
|
if (!mpu->intelligent || mpu->mode == M_UART) {
|
||||||
#endif
|
#endif
|
||||||
/* UART mode input. */
|
/* UART mode input. */
|
||||||
for (i = 0; i < len; i++)
|
for (i = 0; i < len; i++)
|
||||||
|
Reference in New Issue
Block a user