Fix progress bar reinitialization on the loops in dumpers.

This commit is contained in:
2019-04-19 23:40:37 +01:00
parent 5fdb81bc3b
commit 5ca3b09c47
2 changed files with 2 additions and 2 deletions

View File

@@ -379,9 +379,9 @@ namespace DiscImageChef.Core.Devices.Dumping
int pass = 1;
bool forward = true;
InitProgress?.Invoke();
repeatRetryLba:
ulong[] tmpArray = resume.BadBlocks.ToArray();
InitProgress?.Invoke();
foreach(ulong badSector in tmpArray)
{
if(aborted)