Fix typo.

This commit is contained in:
2020-03-04 22:58:34 +00:00
parent ea45ef8fa5
commit 41339ed26e
4 changed files with 14 additions and 9 deletions

View File

@@ -266,7 +266,8 @@ namespace Aaru.Core.Devices.Dumping
audioExtents.Contains(badSector) &&
offsetBytes != 0)
{
int offsetFix = offsetBytes < 0 ? (int)(sectorSize - (offsetBytes * -1)) : offsetBytes;
int offsetFix = offsetBytes < 0 ? (int)((sectorSize * sectorsForOffset) + offsetBytes)
: offsetBytes;
if(supportedSubchannel != MmcSubchannel.None)
{