mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Simplify item count statistics
This commit is contained in:
@@ -237,12 +237,12 @@ body {
|
||||
|
||||
xtw.WriteStartElement("td");
|
||||
xtw.WriteAttributeString("align", "right");
|
||||
xtw.WriteString(stat.Statistics.RomCount.ToString());
|
||||
xtw.WriteString(stat.Statistics.GetItemCount(Core.ItemType.Rom).ToString());
|
||||
xtw.WriteEndElement(); // td
|
||||
|
||||
xtw.WriteStartElement("td");
|
||||
xtw.WriteAttributeString("align", "right");
|
||||
xtw.WriteString(stat.Statistics.DiskCount.ToString());
|
||||
xtw.WriteString(stat.Statistics.GetItemCount(Core.ItemType.Disk).ToString());
|
||||
xtw.WriteEndElement(); // td
|
||||
|
||||
xtw.WriteStartElement("td");
|
||||
|
||||
@@ -131,8 +131,8 @@ namespace SabreTools.Reports.Formats
|
||||
stat.DisplayName!,
|
||||
stat.Statistics!.TotalSize.ToString(),
|
||||
stat.MachineCount.ToString(),
|
||||
stat.Statistics.RomCount.ToString(),
|
||||
stat.Statistics.DiskCount.ToString(),
|
||||
stat.Statistics.GetItemCount(Core.ItemType.Rom).ToString(),
|
||||
stat.Statistics.GetItemCount(Core.ItemType.Disk).ToString(),
|
||||
stat.Statistics.CRCCount.ToString(),
|
||||
stat.Statistics.MD5Count.ToString(),
|
||||
stat.Statistics.SHA1Count.ToString(),
|
||||
|
||||
@@ -93,8 +93,8 @@ namespace SabreTools.Reports.Formats
|
||||
--------------------------------------------------
|
||||
Uncompressed size: " + GetBytesReadable(stat.Statistics!.TotalSize) + @"
|
||||
Games found: " + stat.MachineCount + @"
|
||||
Roms found: " + stat.Statistics.RomCount + @"
|
||||
Disks found: " + stat.Statistics.DiskCount + @"
|
||||
Roms found: " + stat.Statistics.GetItemCount(Core.ItemType.Rom) + @"
|
||||
Disks found: " + stat.Statistics.GetItemCount(Core.ItemType.Disk) + @"
|
||||
Roms with CRC: " + stat.Statistics.CRCCount + @"
|
||||
Roms with MD5: " + stat.Statistics.MD5Count + @"
|
||||
Roms with SHA-1: " + stat.Statistics.SHA1Count + @"
|
||||
|
||||
Reference in New Issue
Block a user