mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Stats CSV/TSV should use byte values not pretty ones
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user