mirror of
https://github.com/86Box/86Box.git
synced 2026-02-21 17:15:32 -07:00
Change PC5286 KBC hack away from string comparison
This commit is contained in:
@@ -20598,7 +20598,7 @@ machine_has_flags_ex(int flags)
|
||||
int ret = machine_has_flags(machine, flags);
|
||||
|
||||
if (flags & MACHINE_PS2_KBC) {
|
||||
if (machine_is_ps2 && (strcmp(machine_get_internal_name(), "pc5286")))
|
||||
if (machine_is_ps2 && (machines[machine].init != machine_at_pc5286_init))
|
||||
ret |= MACHINE_PS2_KBC;
|
||||
else
|
||||
ret &= ~MACHINE_PS2_KBC;
|
||||
|
||||
Reference in New Issue
Block a user