mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatItem] Make SHA-1 mismatch more accurate
This commit is contained in:
@@ -174,7 +174,7 @@ namespace SabreTools.Helper.Dats
|
||||
// More wonderful SHA-1 logging that has to be done
|
||||
if (_itemType == ItemType.Rom && lastItem.Type == ItemType.Rom)
|
||||
{
|
||||
if (((Rom)this).SHA1 == ((Rom)lastItem).SHA1 && ((Rom)this).Size != ((Rom)lastItem).Size)
|
||||
if (!String.IsNullOrEmpty(((Rom)this).SHA1) && ((Rom)this).SHA1 == ((Rom)lastItem).SHA1 && ((Rom)this).Size != ((Rom)lastItem).Size)
|
||||
{
|
||||
logger.User("SHA-1 mismatch - Hash: " + ((Rom)this).SHA1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user