From 158f06fecc45e15a1fce14709df313572968d20a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 8 Nov 2017 15:32:55 -0800 Subject: [PATCH] [DatFile] Right, no CRC in disk --- SabreTools.Library/DatFiles/DatFile.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SabreTools.Library/DatFiles/DatFile.cs b/SabreTools.Library/DatFiles/DatFile.cs index 8e7931a0..cebbaae8 100644 --- a/SabreTools.Library/DatFiles/DatFile.cs +++ b/SabreTools.Library/DatFiles/DatFile.cs @@ -5051,8 +5051,7 @@ 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).CRC)) - || (item.Type == ItemType.Disk && !String.IsNullOrWhiteSpace(((Disk)item).CRC))) + else if ((item.Type == ItemType.Rom && !String.IsNullOrWhiteSpace(((Rom)item).CRC))) { crc.Add(key, item); }