Cleanup of quickscan

This commit is contained in:
Matt Nadareski
2020-10-05 20:39:06 -07:00
parent 6303c7d292
commit 3af799a655
8 changed files with 29 additions and 28 deletions

View File

@@ -4,6 +4,7 @@ using System.IO;
using System.Linq;
using SabreTools.Library.Data;
using SabreTools.Library.DatFiles;
using SabreTools.Library.DatItems;
using SabreTools.Library.IO;
using SharpCompress.Archives;
@@ -189,7 +190,7 @@ namespace SabreTools.Library.FileTypes
BaseFile rarEntryRom = new BaseFile();
// Perform a quickscan, if flagged to
if (QuickScan)
if (this.AvailableHashes == Hash.CRC)
{
rarEntryRom.Size = entry.Size;
rarEntryRom.CRC = BitConverter.GetBytes(entry.Crc);