mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-06 08:39:07 +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);
|
fwrite(buf, 1, size, file);
|
||||||
sizeLeft -= size;
|
sizeLeft -= size;
|
||||||
writeOffset += size;
|
writeOffset += size;
|
||||||
filesExtracted++;
|
|
||||||
}
|
}
|
||||||
|
filesExtracted++;
|
||||||
fclose(file);
|
fclose(file);
|
||||||
delete[] buf;
|
delete[] buf;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user