fixed a floppy drive access issue

It took a few hours that I noticed fdc.c decides the floppy drive type by the machine name.
This commit is contained in:
Akamaki
2025-02-15 16:44:07 +09:00
parent 16fc5e7902
commit db056e0b66
2 changed files with 5 additions and 7 deletions

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/1")) || (!!strstr(machine_getname(), "PS/2"));
ret = (!!strstr(machine_getname(), "PS/1")) || (!!strstr(machine_getname(), "PS/2")) || (!!strstr(machine_getname(), "PS/55"));
else
ret = drive_types[type].flags & FLAG_INVERT_DENSEL;