Fixed 82091AA Serial port disabling.

This commit is contained in:
OBattler
2021-08-04 14:46:42 +02:00
parent ded75f30d9
commit bfcc36ac8e

View File

@@ -117,7 +117,8 @@ serial_handler(i82091aa_t *dev, int uart)
break;
}
serial_setup(dev->uart[uart], uart_port, (dev->regs[reg] & 0x10) ? 4 : 3);
if (dev->regs[reg] & 0x01)
serial_setup(dev->uart[uart], uart_port, (dev->regs[reg] & 0x10) ? 4 : 3);
}