This caused more issues than before. Commenting out for the time being until a better solution is found.

This commit is contained in:
Matt Nadareski
2016-05-15 12:17:11 -07:00
parent c5564a3219
commit 5448d86cc2

View File

@@ -471,6 +471,7 @@ namespace SabreTools.Helper
Int64.TryParse(xtr.GetAttribute("size"), out size);
}
/*
// Take care of hex-sized offsets
long offset = -1;
if (xtr.GetAttribute("offset") != null && xtr.GetAttribute("offset").Contains("0x"))
@@ -487,6 +488,7 @@ namespace SabreTools.Helper
{
size += offset;
}
*/
// Sanitize the hashes from null, hex sizes, and "true blank" strings
string crc = (xtr.GetAttribute("crc") != null ? xtr.GetAttribute("crc").ToLowerInvariant().Trim() : "");