summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-10-29 16:58:40 +0200
committer Olivier Galibert <galibert@pobox.com>2022-10-29 16:58:40 +0200
commitacd8d3c144c8ec287d5d9a13fa61d079b4cfa618 (patch)
tree1fb7559f2fa66e3145605b958eadd3598683c990 /src/devices/machine
parent20718ee42223ae9e0c6f59c2ac89a7fafbaf07f6 (diff)
wd_fdc: Use the new active()
Diffstat (limited to 'src/devices/machine')
-rw-r--r--src/devices/machine/wd_fdc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/wd_fdc.cpp b/src/devices/machine/wd_fdc.cpp
index 027d7c81ba8..253f9e5a19d 100644
--- a/src/devices/machine/wd_fdc.cpp
+++ b/src/devices/machine/wd_fdc.cpp
@@ -355,7 +355,7 @@ void wd_fdc_device_base::command_end()
motor_timeout = 0;
if(!drq && (status & S_BUSY)) {
- if (!t_cmd->enabled()) {
+ if (!t_cmd->running()) {
status &= ~S_BUSY;
}
intrq = true;