mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Make extract progress be of the full file
This commit is contained in:
1 parent
4479bdb956
commit
c20261794e
4 files changed
+31
-12
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user