mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix infinite loop on some CD track mode changes while dumping.
This commit is contained in:
@@ -209,6 +209,9 @@ namespace Aaru.Core.Devices.Dumping
|
|||||||
firstSectorToRead = uint.MaxValue - (uint)(sectorsForOffset - 1); // -1
|
firstSectorToRead = uint.MaxValue - (uint)(sectorsForOffset - 1); // -1
|
||||||
else
|
else
|
||||||
firstSectorToRead -= (uint)sectorsForOffset;
|
firstSectorToRead -= (uint)sectorsForOffset;
|
||||||
|
|
||||||
|
if(blocksToRead <= sectorsForOffset)
|
||||||
|
blocksToRead += (uint)sectorsForOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user