mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFIle] Fix hash split
This commit is contained in:
@@ -5051,8 +5051,8 @@ namespace SabreTools.Library.DatFiles
|
|||||||
md5.Add(key, item);
|
md5.Add(key, item);
|
||||||
}
|
}
|
||||||
// If the file has no MD5 but a CRC
|
// If the file has no MD5 but a CRC
|
||||||
else if ((item.Type == ItemType.Rom && !String.IsNullOrWhiteSpace(((Rom)item).SHA1))
|
else if ((item.Type == ItemType.Rom && !String.IsNullOrWhiteSpace(((Rom)item).CRC))
|
||||||
|| (item.Type == ItemType.Disk && !String.IsNullOrWhiteSpace(((Disk)item).SHA1)))
|
|| (item.Type == ItemType.Disk && !String.IsNullOrWhiteSpace(((Disk)item).CRC)))
|
||||||
{
|
{
|
||||||
crc.Add(key, item);
|
crc.Add(key, item);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user