mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Only increase filesExtracted once per file...
This commit is contained in:
1 parent
c84ef3dca5
commit
59dda01f00
1 file changed
+1
-1
@@ -91,8 +91,8 @@ Result extractArchive(std::string archivePath, std::string wantedFile, std::stri
|
||||
fwrite(buf, 1, size, file);
|
||||
sizeLeft -= size;
|
||||
writeOffset += size;
|
||||
filesExtracted++;
|
||||
}
|
||||
filesExtracted++;
|
||||
fclose(file);
|
||||
delete[] buf;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user