mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Only increase filesExtracted once per file...
This commit is contained in:
@@ -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