Fixed a very stupid bug in device/serial.c, fixes #3558 .
This commit is contained in:
@@ -112,7 +112,7 @@ serial_do_irq(serial_t *dev, int set)
|
||||
if (dev->irq != 0xff) {
|
||||
if (set || (dev->irq_state != !!set))
|
||||
picint_common(1 << dev->irq, !!(dev->type >= SERIAL_16450), set, &dev->irq_state);
|
||||
if (dev->type >= SERIAL_16450)
|
||||
if (dev->type < SERIAL_16450)
|
||||
dev->irq_state = !!set;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user