diff options
| author | 2023-08-27 04:37:35 +1000 | |
|---|---|---|
| committer | 2023-08-27 04:37:35 +1000 | |
| commit | 6c0005df396e3eb013314782ca9256eacadbe4d2 (patch) | |
| tree | e226a66c6734bc5de81551a449543ba817006946 /src/devices/bus/nscsi/cd.cpp | |
| parent | 9865cf3800c68a323f4bd956c6a95b33ba213887 (diff) | |
srcclean, #include order cleanup, and self-closing XML tag cleanup before MAME 0.258 release branch.
Diffstat (limited to 'src/devices/bus/nscsi/cd.cpp')
| -rwxr-xr-x | src/devices/bus/nscsi/cd.cpp | 6 |
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 } } |
