Make keys more selective

This commit is contained in:
Matt Nadareski
2016-04-28 16:41:23 -07:00
parent ffd257aff3
commit e9a9ddad6a

View File

@@ -449,8 +449,9 @@ namespace SabreTools.Helper
} }
// Get the new values to add // Get the new values to add
string key = (xtr.GetAttribute("crc") != null ? xtr.GetAttribute("crc").ToLowerInvariant().Trim() : "") + string key = (xtr.GetAttribute("crc") != null ? xtr.GetAttribute("crc").ToLowerInvariant().Trim() : "") + "-" +
(xtr.GetAttribute("sha1") != null ? xtr.GetAttribute("sha1").ToLowerInvariant().Trim() : "") + (xtr.GetAttribute("md5") != null ? xtr.GetAttribute("md5").ToLowerInvariant().Trim() : "") + "-" +
(xtr.GetAttribute("sha1") != null ? xtr.GetAttribute("sha1").ToLowerInvariant().Trim() : "") + "-" +
size; size;
RomData value = new RomData RomData value = new RomData
{ {