diff --git a/SabreTools.Helper/Dats/Partials/DatFile.Statistics.cs b/SabreTools.Helper/Dats/Partials/DatFile.Statistics.cs index 141d9914..4e7a1993 100644 --- a/SabreTools.Helper/Dats/Partials/DatFile.Statistics.cs +++ b/SabreTools.Helper/Dats/Partials/DatFile.Statistics.cs @@ -124,7 +124,7 @@ namespace SabreTools.Helper.Dats string results = @"For '" + FileName + @"': -------------------------------------------------- Uncompressed size: " + Style.GetBytesReadable(TotalSize) + @" - Games found: " + (game == -1 ? Count : game) + @" + Games found: " + (game == -1 ? Keys.Count() : game) + @" Roms found: " + RomCount + @" Disks found: " + DiskCount + @" Roms with CRC: " + CRCCount + @" @@ -152,7 +152,7 @@ namespace SabreTools.Helper.Dats line = @"'" + FileName + @"': -------------------------------------------------- Uncompressed size: " + Style.GetBytesReadable(TotalSize) + @" - Games found: " + (game == -1 ? Count : game) + @" + Games found: " + (game == -1 ? Keys.Count() : game) + @" Roms found: " + RomCount + @" Disks found: " + DiskCount + @" Roms with CRC: " + CRCCount + @" @@ -175,7 +175,7 @@ namespace SabreTools.Helper.Dats { line = "\"" + FileName + "\"," + "\"" + TotalSize + "\"," - + "\"" + (game == -1 ? Count : game) + "\"," + + "\"" + (game == -1 ? Keys.Count() : game) + "\"," + "\"" + RomCount + "\"," + "\"" + DiskCount + "\"," + "\"" + CRCCount + "\"," @@ -203,7 +203,7 @@ namespace SabreTools.Helper.Dats ? " class=\"dir\">" + HttpUtility.HtmlEncode(FileName.Remove(0, 5)) : ">" + HttpUtility.HtmlEncode(FileName)) + "" + "" + Style.GetBytesReadable(TotalSize) + "" - + "" + (game == -1 ? Count : game) + "" + + "" + (game == -1 ? Keys.Count() : game) + "" + "" + RomCount + "" + "" + DiskCount + "" + "" + CRCCount + "" @@ -227,7 +227,7 @@ namespace SabreTools.Helper.Dats { line = "\"" + FileName + "\"\t" + "\"" + TotalSize + "\"\t" - + "\"" + (game == -1 ? Count : game) + "\"\t" + + "\"" + (game == -1 ? Keys.Count() : game) + "\"\t" + "\"" + RomCount + "\"\t" + "\"" + DiskCount + "\"\t" + "\"" + CRCCount + "\"\t"