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

@@ -484,7 +484,7 @@ fdd_type_invert_densel(int type)
int ret;
if (drive_types[type].flags & FLAG_PS2)
ret = (!!strstr(machine_getname(), "PS/1")) || (!!strstr(machine_getname(), "PS/2")) || (!!strstr(machine_getname(), "PS/55"));
ret = (!!strstr(machine_getname(machine), "PS/1")) || (!!strstr(machine_getname(machine), "PS/2")) || (!!strstr(machine_getname(machine), "PS/55"));
else
ret = drive_types[type].flags & FLAG_INVERT_DENSEL;