Take advantage of new enum ordering

This commit is contained in:
Matt Nadareski
2016-05-11 10:57:00 -07:00
parent 889b265c4f
commit 2844bac565
2 changed files with 4 additions and 4 deletions

View File

@@ -629,8 +629,8 @@ namespace SabreTools.Helper
last.MD5 = (last.MD5 == "" && rom.MD5 != "" ? rom.MD5 : last.MD5);
last.SHA1 = (last.SHA1 == "" && rom.SHA1 != "" ? rom.SHA1 : last.SHA1);
// If the duplicate is in the same system and dupe is not already set to External
if ((last.SystemID == rom.SystemID || last.SourceID == rom.SourceID) && last.Dupe != DupeType.ExternalHash)
// If the duplicate is in the same system and dupe is not already set to External*
if ((last.SystemID == rom.SystemID || last.SourceID == rom.SourceID) && last.Dupe < DupeType.ExternalHash)
{
if (last.Game == rom.Game && last.Name == rom.Name)
{