Make stats use the reduced parsing model

This commit is contained in:
Matt Nadareski
2020-12-23 14:06:48 -08:00
parent 616d4fec5e
commit 8a60d824e3
3 changed files with 13 additions and 15 deletions

View File

@@ -110,7 +110,7 @@ namespace SabreTools.DatTools
logger.Verbose($"Beginning stat collection for '{file.CurrentPath}'");
List<string> games = new List<string>();
DatFile datdata = Parser.CreateAndParse(file.CurrentPath);
DatFile datdata = Parser.CreateAndParse(file.CurrentPath, statsOnly: true);
datdata.Items.BucketBy(ItemKey.Machine, DedupeType.None, norename: true);
// Output single DAT stats (if asked)