Fix Redump check for DIC

This commit is contained in:
Matt Nadareski
2020-06-16 11:41:55 -07:00
parent b86ef09763
commit 7a7c83e8cf
2 changed files with 4 additions and 1 deletions

View File

@@ -1577,7 +1577,6 @@ namespace DICUI.DiscImageCreator
info.SizeAndChecksums.CRC32 = crc32;
info.SizeAndChecksums.MD5 = md5;
info.SizeAndChecksums.SHA1 = sha1;
info.TracksAndWriteOffsets.ClrMameProData = null;
}
// Deal with the layerbreak

View File

@@ -723,6 +723,10 @@ namespace DICUI.Utilities
}
}
// If we have both ClrMamePro and Size and Checksums data, remove the ClrMamePro
if (!string.IsNullOrWhiteSpace(info.SizeAndChecksums.CRC32))
info.TracksAndWriteOffsets.ClrMameProData = null;
// Extract info based generically on MediaType
switch (Type)
{