The Lucky Star LS-486E and Rise R418 are now marked as having the PS/2 keyboard controller IRQ latch (new machine bus flag!) without actually having the PS/2 ports.

This commit is contained in:
OBattler
2023-07-02 16:58:31 +02:00
parent 8175afd228
commit 5b58fcfab2
3 changed files with 13 additions and 11 deletions

View File

@@ -584,7 +584,7 @@ pic_reset_hard(void)
/* The situation is as follows: There is a giant mess when it comes to these latches on real hardware,
to the point that there's even boards with board-level latched that get used in place of the latches
on the chipset, therefore, I'm just doing this here for the sake of simplicity. */
if (machine_has_bus(machine, MACHINE_BUS_PS2)) {
if (machine_has_bus(machine, MACHINE_BUS_PS2_LATCH)) {
pic_kbd_latch(0x01);
pic_mouse_latch(0x01);
} else {