From 2d25a116ad039015eee11651cf62b3de7cf2fb25 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 4 Jan 2025 20:43:59 +0100 Subject: [PATCH] Refine the FDD PS/1 and PS/2 check to ignore the PS/ValuePoint machines, fixes #5101. --- src/floppy/fdd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/floppy/fdd.c b/src/floppy/fdd.c index 3a0b03a9b..a381f67f1 100644 --- a/src/floppy/fdd.c +++ b/src/floppy/fdd.c @@ -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;