mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatItem] Only compare like DatItems for SHA-1 mismatch
This commit is contained in:
@@ -172,7 +172,7 @@ namespace SabreTools.Helper.Dats
|
||||
bool dupefound = this.Equals(lastItem);
|
||||
|
||||
// More wonderful SHA-1 logging that has to be done
|
||||
if (_itemType == ItemType.Rom)
|
||||
if (_itemType == ItemType.Rom && lastItem.Type == ItemType.Rom)
|
||||
{
|
||||
if (((Rom)this).SHA1 == ((Rom)lastItem).SHA1 && ((Rom)this).Size != ((Rom)lastItem).Size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user