PS/2 KBC: Clear IRQ's upon returning to main loop, fixes input in Windows 3.1x on eg. the Soyo 4SAW2.

This commit is contained in:
OBattler
2024-05-12 19:11:52 +02:00
parent d786cf3aa7
commit 01b2d14a49

View File

@@ -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);