Ignore the _dedup value in checking because it doesn't matter

This commit is contained in:
Matt Nadareski
2016-05-11 09:51:20 -07:00
parent 21f15219e8
commit f9656f73ff

View File

@@ -119,7 +119,7 @@ namespace SabreTools
foreach (RomData rom in temp)
{
if ((_dedup && rom.Dupe != DupeType.ExternalHash) || (!_dedup && rom.Dupe != DupeType.ExternalAll))
if (rom.Dupe != DupeType.ExternalHash && rom.Dupe != DupeType.ExternalAll)
{
if (diffed.ContainsKey(key))
{
@@ -178,7 +178,7 @@ namespace SabreTools
foreach (RomData rom in temp)
{
if ((_dedup && rom.Dupe == DupeType.ExternalHash) || (!_dedup && rom.Dupe == DupeType.ExternalAll))
if (rom.Dupe == DupeType.ExternalHash || rom.Dupe == DupeType.ExternalAll)
{
if (duplicates.ContainsKey(key))
{