Refine the FDD PS/1 and PS/2 check to ignore the PS/ValuePoint machines, fixes #5101.

This commit is contained in:
OBattler
2025-01-04 20:43:59 +01:00
parent 117bbc43c7
commit 2d25a116ad

View File

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