[Dumping] [CompactDisc] When trimming or retrying using scrambled mode, fix offset and check validity of data sectors because drive can report no error but return errored data. Fixes #390

This commit is contained in:
2024-04-28 20:28:48 +01:00
parent 99adb55c9e
commit 97827d9bfe
3 changed files with 145 additions and 15 deletions

View File

@@ -1119,12 +1119,6 @@ sealed partial class Dump
}
}
if(!_fixOffset || tracks.All(t => t.Type != TrackType.Audio))
{
offsetBytes = 0;
sectorsForOffset = 0;
}
mhddLog = new MhddLog(_outputPrefix + ".mhddlog.bin", _dev, blocks, blockSize, _maximumReadable, _private,
_dimensions);