From acd8d3c144c8ec287d5d9a13fa61d079b4cfa618 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sat, 29 Oct 2022 16:58:40 +0200 Subject: wd_fdc: Use the new active() --- src/devices/machine/wd_fdc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3