]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Possible fix for DRQ being set when IDE transfer fails due to host side access errors.
authorToni Wilen <twilen@winuae.net>
Thu, 3 Jul 2025 16:36:14 +0000 (19:36 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 3 Jul 2025 16:36:14 +0000 (19:36 +0300)
ide.cpp

diff --git a/ide.cpp b/ide.cpp
index a6680cb56288022520a19dfc6eb9d05e33ebdf61..516396cacda03b9b23e00171dc05652e8dec22e0 100644 (file)
--- a/ide.cpp
+++ b/ide.cpp
@@ -443,6 +443,8 @@ static void ide_fail_err (struct ide_hdf *ide, uae_u8 err)
                ide->pair->regs.ide_status |= IDE_STATUS_ERR;
        }
        ide->regs.ide_status |= IDE_STATUS_ERR;
+       ide->intdrq = false;
+       ide->data_multi = 0;
        ide_interrupt (ide);
 }