mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 22:15:21 -04:00
[ui] report ISO progress in main/icon progressbar
* Also improve granularity for ISO progress * Also fixes an issue with badblocks report
This commit is contained in:
parent
8d2fd913b0
commit
bb76f1f636
6 changed files with 37 additions and 20 deletions
|
@ -566,6 +566,9 @@ BOOL BadBlocks(HANDLE hPhysicalDrive, ULONGLONG disk_size, size_t block_size,
|
|||
blk_t first_block = 0, last_block = disk_size/block_size;
|
||||
|
||||
if (report == NULL) return FALSE;
|
||||
num_read_errors = 0;
|
||||
num_write_errors = 0;
|
||||
num_corruption_errors = 0;
|
||||
report->bb_count = 0;
|
||||
if (fd != NULL) {
|
||||
log_fd = fd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue