Fix when Q brings us a later sector.

This commit is contained in:
2020-03-06 19:12:09 +00:00
parent eba2452afc
commit be9ee4bd8e

View File

@@ -503,6 +503,17 @@ namespace Aaru.Core.Devices.Dumping
inexactPositioning = true;
}
// Received a Q post the LBA we wanted, just go back. If we are already going forward, break
if(posQ > lba)
{
if(forward)
break;
lba--;
continue;
}
// Bigger than known change, otherwise we found it
if(pregapQ > pregaps[track.TrackSequence])
{