Report error for READ_DVD_STRUCTURE

fixes issues with drivers getting confused about the optical image file
This commit is contained in:
Troy 2022-10-12 21:08:47 -04:00
parent 452930940c
commit fb3a266c86

View File

@ -1999,7 +1999,7 @@ static byte onReadDiscInformation(SCSI_DEVICE *dev, const byte *cdb)
static byte onReadDVDStructure(SCSI_DEVICE *dev, const byte *cdb)
{
dev->m_senseKey = SCSI_SENSE_ILLEGAL_REQUEST;
dev->m_additional_sense_code = SCSI_ASC_CANNOT_READ_MEDIUM_INCOMPATIBLE_FORMAT;
dev->m_additional_sense_code = SCSI_ASC_INVALID_OPERATION_CODE;
return SCSI_STATUS_CHECK_CONDITION;
}