Changed the accidental usage of idebufferb in scsi_cdrom.c to the correct SCSIDevices[id].Cdb.

This commit is contained in:
OBattler
2016-12-25 17:54:15 +01:00
parent 92c44cb89f
commit 392f63fa85

View File

@@ -1561,10 +1561,10 @@ SCSIOut:
max_length <<= 8;
max_length |= SCSIDevices[id].Cdb[8];
track = ((uint32_t) idebufferb[2]) << 24;
track |= ((uint32_t) idebufferb[3]) << 16;
track |= ((uint32_t) idebufferb[4]) << 8;
track |= (uint32_t) idebufferb[5];
track = ((uint32_t) SCSIDevices[id].Cdb[2]) << 24;
track |= ((uint32_t) SCSIDevices[id].Cdb[3]) << 16;
track |= ((uint32_t) SCSIDevices[id].Cdb[4]) << 8;
track |= (uint32_t) SCSIDevices[id].Cdb[5];
if (cdrom->read_track_information)
{