diff --git a/SabreTools.Library/DatFiles/AttractMode.cs b/SabreTools.Library/DatFiles/AttractMode.cs index 7a8bc3af..dfb50cc3 100644 --- a/SabreTools.Library/DatFiles/AttractMode.cs +++ b/SabreTools.Library/DatFiles/AttractMode.cs @@ -193,7 +193,23 @@ namespace SabreTools.Library.DatFiles { try { - sw.Write("#Title;Name;Emulator;CloneOf;Year;Manufacturer;Category;Players;Rotation;Control;Status;DisplayCount;DisplayType;AltRomname;AltTitle;Extra;Buttons\n"); + sw.Write("#Title;"); + sw.Write("Name;"); + sw.Write("Emulator;"); + sw.Write("CloneOf"); + sw.Write("Year;"); + sw.Write("Manufacturer;"); + sw.Write("Category;"); + sw.Write("Players;"); + sw.Write("Rotation;"); + sw.Write("Control;"); + sw.Write("Status;"); + sw.Write("DisplayCount;"); + sw.Write("DisplayType;"); + sw.Write("AltRomname;"); + sw.Write("AltTitle;"); + sw.Write("Extra;"); + sw.Write("Buttons\n"); sw.Flush(); } diff --git a/SabreTools.Library/DatFiles/RomCenter.cs b/SabreTools.Library/DatFiles/RomCenter.cs index 9616e2d2..4ac091f5 100644 --- a/SabreTools.Library/DatFiles/RomCenter.cs +++ b/SabreTools.Library/DatFiles/RomCenter.cs @@ -14,7 +14,6 @@ namespace SabreTools.Library.DatFiles /// /// Represents parsing and writing of a RomCenter DAT /// - /// TODO: Port over the INI parser from DICUI to make this flow a little better internal class RomCenter : DatFile { /// diff --git a/SabreTools.Library/DatFiles/SeparatedValue.cs b/SabreTools.Library/DatFiles/SeparatedValue.cs index a753c252..ec441d86 100644 --- a/SabreTools.Library/DatFiles/SeparatedValue.cs +++ b/SabreTools.Library/DatFiles/SeparatedValue.cs @@ -456,8 +456,23 @@ namespace SabreTools.Library.DatFiles { try { - sw.Write(string.Format("\"File Name\"{0}\"Internal Name\"{0}\"Description\"{0}\"Game Name\"{0}\"Game Description\"{0}\"Type\"{0}\"" + - "Rom Name\"{0}\"Disk Name\"{0}\"Size\"{0}\"CRC\"{0}\"MD5\"{0}\"SHA1\"{0}\"SHA256\"{0}\"Nodump\"\n", _delim)); + sw.Write("\"File Name\"{_delim}"); + sw.Write("\"Internal Name\"{_delim}"); + sw.Write("\"Description\"{_delim}"); + sw.Write("\"Game Name\"{_delim}"); + sw.Write("\"Game Description\"{_delim}"); + sw.Write("\"Type\"{_delim}\""); + sw.Write("\"Rom Name\"{_delim}"); + sw.Write("\"Disk Name\"{_delim}"); + sw.Write("\"Size\"{_delim}"); + sw.Write("\"CRC\"{_delim}"); + sw.Write("\"MD5\"{_delim}"); + //sw.Write("\"RIPEMD160\"{_delim}"); + sw.Write("\"SHA1\"{_delim}"); + sw.Write("\"SHA256\"{_delim}"); + //sw.Write("\"SHA384\"{_delim}"); + //sw.Write("\"SHA512\"{_delim}"); + sw.Write("\"Nodump\"\n"); sw.Flush(); } diff --git a/SabreTools.Library/Reports/BaseReport.cs b/SabreTools.Library/Reports/BaseReport.cs index f145060c..acc8816f 100644 --- a/SabreTools.Library/Reports/BaseReport.cs +++ b/SabreTools.Library/Reports/BaseReport.cs @@ -9,6 +9,7 @@ namespace SabreTools.Library.Reports /// /// Base class for a report output format /// + /// TODO: Can this be overhauled to have all types write like DatFiles? public abstract class BaseReport { protected DatFile _datFile;