Fixed another typo in scsi_cdrom.c.
This commit is contained in:
@@ -924,7 +924,7 @@ void SCSICDROM_Command(uint8_t id, uint8_t lun, uint8_t *cdb)
|
|||||||
|
|
||||||
case GPCMD_SEEK_6:
|
case GPCMD_SEEK_6:
|
||||||
case GPCMD_SEEK:
|
case GPCMD_SEEK:
|
||||||
if (cbd[0] == GPCMD_SEEK_6)
|
if (cdb[0] == GPCMD_SEEK_6)
|
||||||
{
|
{
|
||||||
SCSIDevices[id].lba_pos = (cdb[2]<<8)|cdb[3];
|
SCSIDevices[id].lba_pos = (cdb[2]<<8)|cdb[3];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user