mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Only reverse list of bad blocks if we're retrying backwards. Fixes #328
This commit is contained in:
@@ -312,7 +312,9 @@ namespace Aaru.Core.Devices.Dumping
|
||||
pass++;
|
||||
forward = !forward;
|
||||
_resume.BadBlocks.Sort();
|
||||
_resume.BadBlocks.Reverse();
|
||||
|
||||
if(!forward)
|
||||
_resume.BadBlocks.Reverse();
|
||||
|
||||
goto cdRepeatRetry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user