mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-09-20 06:21:54 +00:00
Show download speed of NSP files
This commit is contained in:
parent
2fe766af47
commit
16f2d7d4bd
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ namespace tin::install::nsp
|
|||
int downloadProgress = (int)(((double)bufferedPlaceholderWriter.GetSizeBuffered() / (double)bufferedPlaceholderWriter.GetTotalDataSize()) * 100.0);
|
||||
|
||||
printf("> Download Progress: %lu/%lu MB (%i%s) (%.2f MB/s)\r", downloadSizeMB, totalSizeMB, downloadProgress, "%", speed);
|
||||
inst::ui::setInstInfoText("Downloading " + ncaFileName + "...");
|
||||
inst::ui::setInstInfoText("Downloading " + ncaFileName + "at " + std::to_string(speed) + "MB/s");
|
||||
inst::ui::setInstBarPerc((double)downloadProgress);
|
||||
//consoleUpdate(NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue