mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move GetBytesReadable to Core, add tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using SabreTools.Core.Tools;
|
||||
using SabreTools.DatFiles;
|
||||
using SabreTools.DatItems;
|
||||
using SabreTools.Hashing;
|
||||
@@ -94,7 +95,7 @@ namespace SabreTools.Reports.Formats
|
||||
{
|
||||
string line = @"'" + stat.DisplayName + @"':
|
||||
--------------------------------------------------
|
||||
Uncompressed size: " + GetBytesReadable(stat!.TotalSize) + @"
|
||||
Uncompressed size: " + NumberHelper.GetBytesReadable(stat!.TotalSize) + @"
|
||||
Games found: " + stat.MachineCount + @"
|
||||
Roms found: " + stat.GetItemCount(ItemType.Rom) + @"
|
||||
Disks found: " + stat.GetItemCount(ItemType.Disk) + @"
|
||||
|
||||
Reference in New Issue
Block a user