mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix bad item case in DatItem
This commit is contained in:
@@ -916,6 +916,10 @@ namespace SabreTools.Library.DatItems
|
||||
{
|
||||
DatItem file = infiles[f];
|
||||
|
||||
// If we somehow have a null item, skip
|
||||
if (file == null)
|
||||
continue;
|
||||
|
||||
// If we don't have a Dis, Media, or Rom, we skip checking for duplicates
|
||||
if (file.ItemType != ItemType.Disk && file.ItemType != ItemType.Media && file.ItemType != ItemType.Rom)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user