mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix issue with CHD-only dats
This commit is contained in:
@@ -1116,8 +1116,10 @@ namespace SabreTools.Library.DatItems
|
||||
|
||||
// Then deduplicate them by checking to see if data matches previous saved roms
|
||||
int nodumpCount = 0;
|
||||
foreach (DatItem file in infiles)
|
||||
for (int f = 0; f < infiles.Count; f++)
|
||||
{
|
||||
DatItem file = infiles[f];
|
||||
|
||||
// If we don't have a Rom or a Disk, we skip checking for duplicates
|
||||
if (file.ItemType != ItemType.Rom && file.ItemType != ItemType.Disk)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user