mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add support for inverted CRC flag
This commit is contained in:
@@ -480,6 +480,7 @@ namespace SabreTools.Library.DatFiles
|
||||
Field.Writable,
|
||||
Field.Optional,
|
||||
Field.Status,
|
||||
Field.Inverted,
|
||||
|
||||
Field.CRC,
|
||||
Field.MD5,
|
||||
@@ -682,6 +683,12 @@ namespace SabreTools.Library.DatFiles
|
||||
rom.ItemStatus = romDupe.ItemStatus;
|
||||
}
|
||||
|
||||
if (updateFields.Contains(Field.Inverted))
|
||||
{
|
||||
if (newDatItem.ItemType == ItemType.Rom)
|
||||
rom.Inverted = romDupe.Inverted;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Hash fields
|
||||
|
||||
Reference in New Issue
Block a user