[DatItems] Add reading Blanks where appropriate

This commit is contained in:
Matt Nadareski
2018-01-04 01:12:49 -08:00
parent 8f85f7af8a
commit 33283b7ea5
4 changed files with 72 additions and 39 deletions

View File

@@ -2957,7 +2957,10 @@ namespace SabreTools.Library.DatFiles
foreach (DatItem item in parentItems)
{
DatItem datItem = (DatItem)item.Clone();
Remove(game, datItem);
while (this[game].Contains(datItem))
{
Remove(game, datItem);
}
}
}
}
@@ -3274,6 +3277,7 @@ namespace SabreTools.Library.DatFiles
{
case ItemType.Archive:
case ItemType.BiosSet:
case ItemType.Blank:
case ItemType.Release:
case ItemType.Sample:
key = item.Type.ToString();