[DatFile] DOSCenter doesn't use quotes

This commit is contained in:
Matt Nadareski
2016-10-06 13:40:45 -07:00
parent b44f2684d2
commit ae3e5ea1d5

View File

@@ -4348,7 +4348,7 @@ namespace SabreTools.Helper
// We don't output these at all // We don't output these at all
break; break;
case ItemType.Rom: case ItemType.Rom:
state += "\tfile ( name\"" + ((Rom)rom).Name state += "\tfile ( name " + ((Rom)rom).Name
+ (((Rom)rom).Size != -1 ? " size " + ((Rom)rom).Size : "") + (((Rom)rom).Size != -1 ? " size " + ((Rom)rom).Size : "")
+ (!String.IsNullOrEmpty(((Rom)rom).Date) ? " date " + ((Rom)rom).Date : "") + (!String.IsNullOrEmpty(((Rom)rom).Date) ? " date " + ((Rom)rom).Date : "")
+ (!String.IsNullOrEmpty(((Rom)rom).CRC) ? " crc " + ((Rom)rom).CRC.ToLowerInvariant() : "") + (!String.IsNullOrEmpty(((Rom)rom).CRC) ? " crc " + ((Rom)rom).CRC.ToLowerInvariant() : "")