mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] ExcludeFields instead of ExcludeOf
This commit is contained in:
@@ -502,18 +502,18 @@ namespace SabreTools.Library.DatFiles
|
||||
string inline = string.Format("\"" + FileName + "\""
|
||||
+ "{0}\"" + Name + "\""
|
||||
+ "{0}\"" + Description + "\""
|
||||
+ "{0}\"" + rom.MachineName + "\""
|
||||
+ "{0}\"" + rom.MachineDescription + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.MachineName] ? rom.MachineName : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.Description] ? rom.MachineDescription : "") + "\""
|
||||
+ "{0}\"" + type + "\""
|
||||
+ "{0}\"" + romname + "\""
|
||||
+ "{0}\"" + diskname + "\""
|
||||
+ "{0}\"" + size + "\""
|
||||
+ "{0}\"" + crc + "\""
|
||||
+ "{0}\"" + md5 + "\""
|
||||
+ "{0}\"" + sha1 + "\""
|
||||
+ "{0}\"" + sha256 + "\""
|
||||
// + "{0}\"" + sha384 + "\""
|
||||
// + "{0}\"" + sha512 + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.Name] ? romname : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.Name] ? diskname : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.Size] ? size : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.CRC] ? crc : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.MD5] ? md5 : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.SHA1] ? sha1 : "") + "\""
|
||||
+ "{0}\"" + (!ExcludeFields[(int)Field.SHA256] ? sha256 : "") + "\""
|
||||
// + "{0}\"" + (!ExcludeFields[(int)Field.SHA384] ? sha384 : "") + "\""
|
||||
// + "{0}\"" + (!ExcludeFields[(int)Field.SHA512] ? sha512 : "") + "\""
|
||||
+ "{0}" + status, _delim);
|
||||
state += pre + inline + post + "\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user