From 01b2d14a49f9c924306951f1e0c6e12b685060c7 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 12 May 2024 19:11:52 +0200 Subject: [PATCH] PS/2 KBC: Clear IRQ's upon returning to main loop, fixes input in Windows 3.1x on eg. the Soyo 4SAW2. --- src/device/kbc_at.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/device/kbc_at.c b/src/device/kbc_at.c index 6a5c306e1..c630960ae 100644 --- a/src/device/kbc_at.c +++ b/src/device/kbc_at.c @@ -625,6 +625,8 @@ kbc_at_poll_ps2(atkbc_t *dev) fallthrough; case STATE_MAIN_IBF: default: + picint_common(1 << 1, 0, 0, NULL); + picint_common(1 << 12, 0, 0, NULL); ps2_main_ibf: if (dev->status & STAT_IFULL) kbc_ibf_process(dev);