summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2022-11-01 18:14:23 +0100
committer hap <happppp@users.noreply.github.com>2022-11-01 18:14:23 +0100
commit4e8a667e91a13c6193a816ad51f57770643d5d04 (patch)
tree54f95ed20a1dc859bbe91a28c8d8a0bf8102e837
parent39a794edb1ae41d415a365235c0d3911776bf157 (diff)
Revert "wd_fdc: Use the new active()"
This reverts commit acd8d3c144c8ec287d5d9a13fa61d079b4cfa618.
-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 253f9e5a19d..027d7c81ba8 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->running()) {
+ if (!t_cmd->enabled()) {
status &= ~S_BUSY;
}
intrq = true;