Moved some SCSI CD-ROM errors to the command byte/CDB decoder;

SCSI CD-ROM now correctly sets status phase on error;
SCSI CD-ROM now correctly errors on bad command.
This commit is contained in:
OBattler
2016-12-26 03:21:43 +01:00
parent f01c61b813
commit e7934a1229
2 changed files with 45 additions and 40 deletions

View File

@@ -2923,7 +2923,7 @@ atapi_out:
atapi_command_ready(ide_board, len);
break;
case GPCMD_SEND_DVD_STRUCTURE:
// case GPCMD_SEND_DVD_STRUCTURE:
default:
ide->atastat = READY_STAT | ERR_STAT; /*CHECK CONDITION*/
ide->error = (SENSE_ILLEGAL_REQUEST << 4) | ABRT_ERR;