From babbb2247e2529f55d4945ee08f9a8df38880a2a Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 2 Jul 2023 16:59:39 +0200 Subject: [PATCH] Changed PS/2 bus check in device.c. --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index 7d8f5e88e..813d8a140 100644 --- a/src/device.c +++ b/src/device.c @@ -771,7 +771,7 @@ device_is_valid(const device_t *device, int m) if ((device->flags & DEVICE_AGP) && !machine_has_bus(m, MACHINE_BUS_AGP)) return 0; - if ((device->flags & DEVICE_PS2) && !machine_has_bus(m, MACHINE_BUS_PS2)) + if ((device->flags & DEVICE_PS2) && !machine_has_bus(m, MACHINE_BUS_PS2_PORTS)) return 0; if ((device->flags & DEVICE_AC97) && !machine_has_bus(m, MACHINE_BUS_AC97))