mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Cleanup of quickscan
This commit is contained in:
@@ -2038,7 +2038,6 @@ namespace SabreTools.Library.DatFiles
|
||||
{
|
||||
// Set the archive flags
|
||||
archive.AvailableHashes = hashes;
|
||||
archive.QuickScan = hashes == Hash.CRC;
|
||||
|
||||
// Skip if we're treating archives as files and skipping files
|
||||
if (asFiles.HasFlag(TreatAsFile.Archive) && skipFileType == SkipFileType.File)
|
||||
@@ -2614,7 +2613,7 @@ namespace SabreTools.Library.DatFiles
|
||||
// Now get all extracted items from the archive
|
||||
if (archive != null)
|
||||
{
|
||||
archive.QuickScan = quickScan;
|
||||
archive.AvailableHashes = quickScan ? Hash.CRC : Hash.Standard;
|
||||
entries = archive.GetChildren();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user