summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/sonydriv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/sonydriv.cpp')
-rw-r--r--src/devices/machine/sonydriv.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/machine/sonydriv.cpp b/src/devices/machine/sonydriv.cpp
index b64743afb0d..c18b6429ae0 100644
--- a/src/devices/machine/sonydriv.cpp
+++ b/src/devices/machine/sonydriv.cpp
@@ -430,6 +430,12 @@ static void sony_doaction(device_t *device)
break;
case 0x03: /* Reset diskswitched */
f->disk_switched = 0;
+ // flopdrv.cpp won't reset its disk switch flag without
+ // doing a seek. So we do a seek of 0 tracks, which works.
+ if (cur_image)
+ {
+ cur_image->floppy_drive_seek(0);
+ }
break;
case 0x04: /* Step disk */
if (cur_image)