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 SabreTools.Library.Tools;
@@ -194,7 +195,7 @@ namespace SabreTools.Library.FileTypes
BaseFile tarEntryRom = new BaseFile();
// Perform a quickscan, if flagged to
if (QuickScan)
if (this.AvailableHashes == Hash.CRC)
{
tarEntryRom.Size = entry.Size;
tarEntryRom.CRC = BitConverter.GetBytes(entry.Crc);