Bringing the SCSI code in line with ATAPI regarding disc changes.

This commit is contained in:
OBattler
2016-12-30 00:04:57 +01:00
parent 03c2cad539
commit 77c7516891

View File

@@ -710,6 +710,12 @@ void SCSICDROM_Command(uint8_t id, uint8_t lun, uint8_t *cdb)
SCSISenseCodeError(SENSE_UNIT_ATTENTION, ASC_MEDIUM_MAY_HAVE_CHANGED, 0);
SCSIStatus = SCSI_STATUS_CHECK_CONDITION;
SCSICallback[id]=50*SCSI_TIME;
return;
}
if (cdb[0] == GPCMD_READ_TOC_PMA_ATIP)
{
SCSISense.UnitAttention = 0;
}
/* Unless the command is REQUEST SENSE, clear the sense. This will *NOT*