From 9a3c9469dfc53890651b8415f39181d17ed287e6 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 22 Jun 2016 21:23:50 -0700 Subject: [PATCH] [SimpleSort] Output stats of remaining files --- SimpleSort/SimpleSort.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SimpleSort/SimpleSort.cs b/SimpleSort/SimpleSort.cs index 8ac9428d..8a108025 100644 --- a/SimpleSort/SimpleSort.cs +++ b/SimpleSort/SimpleSort.cs @@ -320,6 +320,9 @@ namespace SabreTools } } + // Now output the stats for the DAT (remaining) + Stats.OutputStats(_datdata, _logger, true); + return success; } @@ -378,7 +381,7 @@ namespace SabreTools } // Try to find the matches to the file that was found - List foundroms = RomTools.GetDuplicates(rom, _datdata); + List foundroms = RomTools.GetDuplicates(rom, _datdata, true); _logger.Log("File '" + input + "' had " + foundroms.Count + " matches in the DAT!"); foreach (Rom found in foundroms) { @@ -424,7 +427,7 @@ namespace SabreTools } // Try to find the matches to the file that was found - List founddroms = RomTools.GetDuplicates(drom, _datdata); + List founddroms = RomTools.GetDuplicates(drom, _datdata, true); _logger.Log("File '" + newinput + "' had " + founddroms.Count + " matches in the DAT!"); foreach (Rom found in founddroms) { @@ -507,7 +510,7 @@ namespace SabreTools foreach (Rom rom in internalRomData) { // Try to find the matches to the file that was found - List foundroms = RomTools.GetDuplicates(rom, _datdata); + List foundroms = RomTools.GetDuplicates(rom, _datdata, true); _logger.Log("File '" + rom.Name + "' had " + foundroms.Count + " matches in the DAT!"); foreach (Rom found in foundroms) {