mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix progress bar reinitialization on the loops in dumpers.
This commit is contained in:
@@ -379,9 +379,9 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
int pass = 1;
|
int pass = 1;
|
||||||
bool forward = true;
|
bool forward = true;
|
||||||
|
|
||||||
|
InitProgress?.Invoke();
|
||||||
repeatRetryLba:
|
repeatRetryLba:
|
||||||
ulong[] tmpArray = resume.BadBlocks.ToArray();
|
ulong[] tmpArray = resume.BadBlocks.ToArray();
|
||||||
InitProgress?.Invoke();
|
|
||||||
foreach(ulong badSector in tmpArray)
|
foreach(ulong badSector in tmpArray)
|
||||||
{
|
{
|
||||||
if(aborted)
|
if(aborted)
|
||||||
|
|||||||
@@ -1562,10 +1562,10 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
else runningPersistent = true;
|
else runningPersistent = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InitProgress?.Invoke();
|
||||||
cdRepeatRetry:
|
cdRepeatRetry:
|
||||||
ulong[] tmpArray = resume.BadBlocks.ToArray();
|
ulong[] tmpArray = resume.BadBlocks.ToArray();
|
||||||
List<ulong> sectorsNotEvenPartial = new List<ulong>();
|
List<ulong> sectorsNotEvenPartial = new List<ulong>();
|
||||||
InitProgress?.Invoke();
|
|
||||||
foreach(ulong badSector in tmpArray)
|
foreach(ulong badSector in tmpArray)
|
||||||
{
|
{
|
||||||
if(aborted)
|
if(aborted)
|
||||||
|
|||||||
Reference in New Issue
Block a user