From dfa755d1706e675bb76f45e1cb0a42e68cde4093 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 31 Aug 2017 23:48:40 -0700 Subject: [PATCH] [DatFile] Fix hash-verify a little --- SabreTools.Library/Dats/Partials/DatFile.Rebuild.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreTools.Library/Dats/Partials/DatFile.Rebuild.cs b/SabreTools.Library/Dats/Partials/DatFile.Rebuild.cs index fdb28dae..2482b5b6 100644 --- a/SabreTools.Library/Dats/Partials/DatFile.Rebuild.cs +++ b/SabreTools.Library/Dats/Partials/DatFile.Rebuild.cs @@ -993,8 +993,8 @@ namespace SabreTools.Library.Dats // If we are checking hashes only, essentially diff the inputs if (hashOnly) { - // First we need to sort by hash to get duplicates - BucketBy(SortedBy.SHA1, DedupeType.None); + // First we need to sort and dedupe by hash to get duplicates + BucketBy(SortedBy.CRC, DedupeType.Full); // Then follow the same tactics as before foreach (string key in Keys)