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.

This commit is contained in:
TC1995
2020-03-31 18:56:35 +02:00
parent 85dc1462f0
commit 5a3db27365

View File

@@ -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) {