mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Non-Rom/Disk don't need to get checked for dupes
This commit is contained in:
@@ -1767,6 +1767,13 @@ namespace SabreTools.Library.DatFiles
|
||||
List<DatItem> newDatItems = new List<DatItem>();
|
||||
foreach (DatItem datItem in datItems)
|
||||
{
|
||||
// If we have something other than a Rom or Disk, then this doesn't do anything
|
||||
if (datItem.Type != ItemType.Disk && datItem.Type != ItemType.Rom)
|
||||
{
|
||||
newDatItems.Add((DatItem)datItem.Clone());
|
||||
continue;
|
||||
}
|
||||
|
||||
List<DatItem> dupes = datItem.GetDuplicates(this, sorted: true);
|
||||
DatItem newDatItem = (DatItem)datItem.Clone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user