[DatFile] Stats CSV/TSV should use byte values not pretty ones

This commit is contained in:
Matt Nadareski
2016-11-10 11:56:41 -08:00
parent 2d3959dafd
commit 9896eb9cc0
2 changed files with 2 additions and 3 deletions

View File

@@ -126,7 +126,7 @@ namespace SabreTools.Helper.Dats
{ {
case StatDatFormat.CSV: case StatDatFormat.CSV:
line = "\"" + FileName + "\"," line = "\"" + FileName + "\","
+ "\"" + Style.GetBytesReadable(TotalSize) + "\"," + "\"" + TotalSize + "\","
+ "\"" + (game == -1 ? Count : game) + "\"," + "\"" + (game == -1 ? Count : game) + "\","
+ "\"" + RomCount + "\"," + "\"" + RomCount + "\","
+ "\"" + DiskCount + "\"," + "\"" + DiskCount + "\","
@@ -191,7 +191,7 @@ namespace SabreTools.Helper.Dats
break; break;
case StatDatFormat.TSV: case StatDatFormat.TSV:
line = "\"" + FileName + "\"\t" line = "\"" + FileName + "\"\t"
+ "\"" + Style.GetBytesReadable(TotalSize) + "\"\t" + "\"" + TotalSize + "\"\t"
+ "\"" + (game == -1 ? Count : game) + "\"\t" + "\"" + (game == -1 ? Count : game) + "\"\t"
+ "\"" + RomCount + "\"\t" + "\"" + RomCount + "\"\t"
+ "\"" + DiskCount + "\"\t" + "\"" + DiskCount + "\"\t"

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using SabreTools.Helper; using SabreTools.Helper;
using SabreTools.Helper.Data; using SabreTools.Helper.Data;
using SabreTools.Helper.Tools;
#if MONO #if MONO
using System.IO; using System.IO;