From 5a3db27365b837276b62608579b7439be53c64ef Mon Sep 17 00:00:00 2001 From: TC1995 Date: Tue, 31 Mar 2020 18:56:35 +0200 Subject: [PATCH] Clear the current bus data when a device is not found or not selected, fixes MA13B.SYS 1.16's (Trantor 130B SCSI ASPI Manager) detection of CD-ROM's which requires such. --- src/scsi/scsi_ncr5380.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/scsi/scsi_ncr5380.c b/src/scsi/scsi_ncr5380.c index eca899b80..659f6cf5e 100644 --- a/src/scsi/scsi_ncr5380.c +++ b/src/scsi/scsi_ncr5380.c @@ -392,8 +392,7 @@ ncr_bus_update(void *priv, int bus) ncr->state = STATE_SELECT; } else { ncr_log("Device not found at ID %i, Current Bus BSY=%02x\n", ncr->target_id, ncr->cur_bus); - if (ncr_dev->type == 1 && ncr_dev->bios_ver == 1) - ncr->cur_bus = 0; + ncr->cur_bus = 0; } } } else if (ncr->state == STATE_SELECT) {