Add "type" to DatData for use with SuperDATs

This commit is contained in:
Matt Nadareski
2016-05-17 11:23:06 -07:00
parent c1c9072649
commit 48507e76b1
3 changed files with 3 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ namespace SabreTools.Helper
"\t\t<date>" + HttpUtility.HtmlEncode(datdata.Date) + "</date>\n" +
"\t\t<author>" + HttpUtility.HtmlEncode(datdata.Author) + "</author>\n" +
"\t\t<comment>" + HttpUtility.HtmlEncode(datdata.Comment) + "</comment>\n" +
(datdata.Type != null && datdata.Type != "" ? "\t\t<type>" + datdata.Type + "</type>\n" : "") +
(datdata.ForcePacking == ForcePacking.Unzip ? "\t\t<clrmamepro forcepacking=\"unzip\" />\n" : "") +
"\t</header>\n";
break;