mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 09:55:11 -04:00
[ui] add experimental optional display of transfer speed and time remaining
* You can use <Alt> to switch modes during an operation that supports it (e.g. Checksum computation, DD image writing or zeroing, save to VHD, download, etc. * IMPORTANT: This is *NOT* available for all operations. Especially, if you were hoping to get transfer speed or ETA during ISO or WIM extraction, you *WILL* be disappointed. * Also harmonize the code in checksum.c
This commit is contained in:
parent
94e2015edf
commit
af95de8198
16 changed files with 525 additions and 430 deletions
|
@ -334,7 +334,7 @@ static BOOL ExtractMSDOS(const char* path)
|
|||
if (memcmp(extractlist[j], &DiskImage[FAT12_ROOTDIR_OFFSET + i*FAT_BYTES_PER_DIRENT], 8+3) == 0) {
|
||||
r = ExtractFAT(i, (j<3)?path:locale_path);
|
||||
if ((j == 2) || (j == 7) || (j == 12))
|
||||
UpdateProgress(OP_DOS, -1.0f);
|
||||
UpdateProgress(OP_FILE_COPY, -1.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -405,7 +405,7 @@ BOOL ExtractFreeDOS(const char* path)
|
|||
uprintf("Successfully wrote '%s' (%d bytes)\n", filename, res_size);
|
||||
|
||||
if ((i == 4) || (i == 10) || (i == 16) || (i == 22) || (i == ARRAYSIZE(res_name)-1))
|
||||
UpdateProgress(OP_DOS, -1.0f);
|
||||
UpdateProgress(OP_FILE_COPY, -1.0f);
|
||||
}
|
||||
|
||||
return SetDOSLocale(path, TRUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue