aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw')
-rw-r--r--src/hw/floppy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hw/floppy.c b/src/hw/floppy.c
index 573c45f5..77dbade3 100644
--- a/src/hw/floppy.c
+++ b/src/hw/floppy.c
@@ -356,6 +356,7 @@ floppy_drive_pio(u8 floppyid, int command, u8 *param)
// Send command.
int ret = floppy_pio(command, param);
+ SET_BDA(floppy_motor_counter, FLOPPY_MOTOR_TICKS); // reset motor timeout
if (ret)
return ret;