Fix checking if drive reads subchannel in BCD.

This commit is contained in:
2020-05-05 18:55:40 +01:00
parent da441410a6
commit 06dfb76728
2 changed files with 2 additions and 2 deletions

View File

@@ -336,7 +336,7 @@ namespace Aaru.Core.Devices.Dumping
// Check if subchannel is BCD
if(supportedSubchannel != MmcSubchannel.None)
{
sense = _dev.ReadCd(out cmdBuf, out _, 0, blockSize, 35, MmcSectorTypes.AllTypes, false, false, true,
sense = _dev.ReadCd(out cmdBuf, out _, 35, blockSize, 1, MmcSectorTypes.AllTypes, false, false, true,
MmcHeaderCodes.AllHeaders, true, true, MmcErrorField.None, supportedSubchannel,
_dev.Timeout, out _);