From 4d6facb259620ea155af45a1630c75cf4e8ce5d4 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 23 Aug 2025 20:51:07 +0200 Subject: [PATCH] Fix a typo in the NSC PC87306 code. --- src/sio/sio_pc87306.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sio/sio_pc87306.c b/src/sio/sio_pc87306.c index 604432cfc..e95292fbb 100644 --- a/src/sio/sio_pc87306.c +++ b/src/sio/sio_pc87306.c @@ -348,7 +348,7 @@ pc87306_write(uint16_t port, uint8_t val, void *priv) fdc_set_base(dev->fdc, (dev->regs[0x00] & 0x20) ? FDC_SECONDARY_ADDR : FDC_PRIMARY_ADDR); } } - if (valxor & 0x08) { + if (valxor & 0x88) { lpt_port_remove(dev->lpt); if ((dev->regs[0x00] & 1) && !(dev->regs[0x02] & 1)) lpt_handler(dev);