Fixed two typo's in scsi_cdrom.c.

This commit is contained in:
OBattler
2016-12-29 22:34:24 +01:00
parent a0b7d55312
commit e5b5fcc4f2

View File

@@ -922,9 +922,9 @@ void SCSICDROM_Command(uint8_t id, uint8_t lun, uint8_t *cdb)
SCSIDMAResetPosition(id); SCSIDMAResetPosition(id);
break; break;
case GPCMD_SEEK6: case GPCMD_SEEK_6:
case GPCMD_SEEK: case GPCMD_SEEK:
if (cbd[0] == GPCMD_SEEK6) if (cbd[0] == GPCMD_SEEK_6)
{ {
SCSIDevices[id].lba_pos = (cdb[2]<<8)|cdb[3]; SCSIDevices[id].lba_pos = (cdb[2]<<8)|cdb[3];
} }