From 392f63fa854ae7c2e25942e87a474d8ccd1647d9 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sun, 25 Dec 2016 17:54:15 +0100 Subject: [PATCH] Changed the accidental usage of idebufferb in scsi_cdrom.c to the correct SCSIDevices[id].Cdb. --- src/scsi_cdrom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scsi_cdrom.c b/src/scsi_cdrom.c index 9ce15a9b5..2ec9c829e 100644 --- a/src/scsi_cdrom.c +++ b/src/scsi_cdrom.c @@ -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) {