Merge machine_getname_ex into machine_getname

This commit is contained in:
Alexander Babikov
2026-01-01 16:41:03 +05:00
parent 35a48ccdc9
commit 2b99bf64bd
7 changed files with 10 additions and 17 deletions

View File

@@ -191,7 +191,7 @@ postcard_init(UNUSED(const device_t *info))
if (machine_has_bus(machine, MACHINE_BUS_MCA))
postcard_port = 0x680; /* MCA machines */
else if (strstr(machines[machine].name, " PS/2 ") ||
strstr(machine_getname_ex(machine), " PS/1 "))
strstr(machine_getname(machine), " PS/1 "))
postcard_port = 0x190; /* ISA PS/2 machines */
else if (strstr(machines[machine].name, " IBM XT "))
postcard_port = 0x60; /* IBM XT */