mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] There is no "mid-header" for CSV\TSV stats
This commit is contained in:
@@ -486,6 +486,8 @@ Please check the log folder if the stats scrolled offscreen", false);
|
|||||||
switch (statDatFormat)
|
switch (statDatFormat)
|
||||||
{
|
{
|
||||||
case StatDatFormat.CSV:
|
case StatDatFormat.CSV:
|
||||||
|
head = "\"File Name\",\"Total Size\",\"Games\",\"Roms\",\"Disks\",\"# with CRC\",\"# with MD5\",\"# with SHA-1\""
|
||||||
|
+ (baddumpCol ? ",\"BadDumps\"" : "") + (nodumpCol ? ",\"Nodumps\"" : "") + "\n";
|
||||||
break;
|
break;
|
||||||
case StatDatFormat.HTML:
|
case StatDatFormat.HTML:
|
||||||
head = @"<!DOCTYPE html>
|
head = @"<!DOCTYPE html>
|
||||||
@@ -513,6 +515,8 @@ Please check the log folder if the stats scrolled offscreen", false);
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
case StatDatFormat.TSV:
|
case StatDatFormat.TSV:
|
||||||
|
head = "\"File Name\"\t\"Total Size\"\t\"Games\"\t\"Roms\"\t\"Disks\"\t\"# with CRC\"\t\"# with MD5\"\t\"# with SHA-1\""
|
||||||
|
+ (baddumpCol ? "\t\"BadDumps\"" : "") + (nodumpCol ? "\t\"Nodumps\"" : "") + "\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sw.Write(head);
|
sw.Write(head);
|
||||||
@@ -534,8 +538,6 @@ Please check the log folder if the stats scrolled offscreen", false);
|
|||||||
switch (statDatFormat)
|
switch (statDatFormat)
|
||||||
{
|
{
|
||||||
case StatDatFormat.CSV:
|
case StatDatFormat.CSV:
|
||||||
head = "\"File Name\",\"Total Size\",\"Games\",\"Roms\",\"Disks\",\"# with CRC\",\"# with MD5\",\"# with SHA-1\""
|
|
||||||
+ (baddumpCol ? ",\"BadDumps\"" : "") + (nodumpCol ? ",\"Nodumps\"" : "") + "\n";
|
|
||||||
break;
|
break;
|
||||||
case StatDatFormat.HTML:
|
case StatDatFormat.HTML:
|
||||||
head = @" <tr bgcolor=""gray""><th>File Name</th><th align=""right"">Total Size</th><th align=""right"">Games</th><th align=""right"">Roms</th>"
|
head = @" <tr bgcolor=""gray""><th>File Name</th><th align=""right"">Total Size</th><th align=""right"">Games</th><th align=""right"">Roms</th>"
|
||||||
@@ -546,8 +548,6 @@ Please check the log folder if the stats scrolled offscreen", false);
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
case StatDatFormat.TSV:
|
case StatDatFormat.TSV:
|
||||||
head = "\"File Name\"\t\"Total Size\"\t\"Games\"\t\"Roms\"\t\"Disks\"\t\"# with CRC\"\t\"# with MD5\"\t\"# with SHA-1\""
|
|
||||||
+ (baddumpCol ? "\t\"BadDumps\"" : "") + (nodumpCol ? "\t\"Nodumps\"" : "") + "\n";
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
sw.Write(head);
|
sw.Write(head);
|
||||||
|
|||||||
Reference in New Issue
Block a user