From e6811cd710c99950b04aa6e03806ba0efeeef487 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 8 Nov 2017 15:32:12 -0800 Subject: [PATCH] [DatFIle] Fix hash split --- SabreTools.Library/DatFiles/DatFile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreTools.Library/DatFiles/DatFile.cs b/SabreTools.Library/DatFiles/DatFile.cs index a59664e8..8e7931a0 100644 --- a/SabreTools.Library/DatFiles/DatFile.cs +++ b/SabreTools.Library/DatFiles/DatFile.cs @@ -5051,8 +5051,8 @@ namespace SabreTools.Library.DatFiles md5.Add(key, item); } // If the file has no MD5 but a CRC - else if ((item.Type == ItemType.Rom && !String.IsNullOrWhiteSpace(((Rom)item).SHA1)) - || (item.Type == ItemType.Disk && !String.IsNullOrWhiteSpace(((Disk)item).SHA1))) + else if ((item.Type == ItemType.Rom && !String.IsNullOrWhiteSpace(((Rom)item).CRC)) + || (item.Type == ItemType.Disk && !String.IsNullOrWhiteSpace(((Disk)item).CRC))) { crc.Add(key, item); }