Make extract progress be of the full file
This commit is contained in:
parent
4479bdb956
commit
c20261794e
4 changed files with 31 additions and 12 deletions
|
|
@ -219,6 +219,7 @@ void ScriptUtils::extractFile(const std::string &file, const std::string &input,
|
|||
svcGetThreadPriority(&prio, CUR_THREAD_HANDLE);
|
||||
thread = threadCreate((ThreadFunc)displayProgressBar, NULL, 64 * 1024, prio - 1, -2, false);
|
||||
|
||||
getExtractedSize(in, input);
|
||||
extractArchive(in, input, out);
|
||||
showProgressBar = false;
|
||||
threadJoin(thread, U64_MAX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue