summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nscsi/cd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nscsi/cd.cpp')
-rwxr-xr-xsrc/devices/bus/nscsi/cd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/nscsi/cd.cpp b/src/devices/bus/nscsi/cd.cpp
index c119f4282ce..bab36357c34 100755
--- a/src/devices/bus/nscsi/cd.cpp
+++ b/src/devices/bus/nscsi/cd.cpp
@@ -1008,15 +1008,15 @@ void nscsi_cdrom_apple_device::scsi_command()
scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 8, 8)); // seconds
scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 0, 8)); // frames
}
- else // keep returning the last track if necessary
+ else // keep returning the last track if necessary
{
const uint32_t start_lba = image->get_track_start(image->get_last_track());
const uint32_t start_frame = to_msf(start_lba);
scsi_cmdbuf[pos++] = image->get_adr_control(image->get_last_track());
scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 16, 8)); // minutes
- scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 8, 8)); // seconds
- scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 0, 8)); // frames
+ scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 8, 8)); // seconds
+ scsi_cmdbuf[pos++] = dec_2_bcd(BIT(start_frame, 0, 8)); // frames
}
}