From 529ae9cbfc80ba76cf970dd1fc531e5875eab22b Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 12 Jun 2017 17:28:20 -0700 Subject: [PATCH] [DatFile] More fixes and stuff --- SabreTools.Library/Dats/Partials/DatFile.ConvertUpdate.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SabreTools.Library/Dats/Partials/DatFile.ConvertUpdate.cs b/SabreTools.Library/Dats/Partials/DatFile.ConvertUpdate.cs index 4dff1eb7..7962cf96 100644 --- a/SabreTools.Library/Dats/Partials/DatFile.ConvertUpdate.cs +++ b/SabreTools.Library/Dats/Partials/DatFile.ConvertUpdate.cs @@ -197,12 +197,14 @@ namespace SabreTools.Library.Dats Globals.ParallelOptions, path => { + Globals.Logger.User("Comparing '" + path + "' to base DAT"); + // First we parse in the DAT internally DatFile intDat = new DatFile(); intDat.Parse(path.Split('¬')[0], 1, 1, keep: true, clean: clean, remUnicode: remUnicode, descAsName: descAsName); // For comparison's sake, we want to use CRC as the base ordering - BucketBy(SortedBy.CRC, true); + intDat.BucketBy(SortedBy.CRC, true); // Then we do a hashwise comparison against the base DAT List keys = intDat.Keys.ToList();