Skip to content

Commit

Permalink
Merge pull request #237 from saybur/cdrom-linux-fixes
Browse files Browse the repository at this point in the history
CDROM: Mode page 0x2A, READ TRACK INFORMATION, and GET CONFIGURATION
  • Loading branch information
aperezbios authored Jun 9, 2023
2 parents fff8520 + 276d19b commit 3d8dd5d
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SCSI2SD/src/firmware/mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,8 @@ static void doModeSense(
idx += sizeof(SequentialDeviceConfigPage);
}

idx += modeSenseCDCapabilitiesPage(pc, idx, pageCode, &pageFound);

if ((
(scsiDev.target->cfg->quirks == S2S_CFG_QUIRKS_APPLE) ||
(idx + sizeof(AppleVendorPage) <= allocLength)
Expand Down
Loading

0 comments on commit 3d8dd5d

Please sign in to comment.