From 09ec8abdc0b9989e3712305daa9952bde0a38020 Mon Sep 17 00:00:00 2001 From: Patrick Mackinlay Date: Mon, 17 May 2021 17:06:24 +0700 Subject: [PATCH] wd_fdc: commands don't clear forced interrupt --- 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 d32626b5f03..07836bdeeb9 100644 --- a/src/devices/machine/wd_fdc.cpp +++ b/src/devices/machine/wd_fdc.cpp @@ -1146,7 +1146,7 @@ void wd_fdc_device_base::cmd_w(uint8_t val) LOGCOMP("Initiating command %02x\n", val); - if (intrq) { + if(intrq && !(intrq_cond & I_IMM)) { intrq = false; if(!intrq_cb.isnull()) intrq_cb(intrq);