Not sure how this didn't fail before...

This commit is contained in:
Matt Nadareski
2016-04-05 13:59:03 -07:00
parent f8a2187d2d
commit eb7b18760b

View File

@@ -410,7 +410,7 @@ namespace SabreTools
foreach (XmlNode child in node.ChildNodes) foreach (XmlNode child in node.ChildNodes)
{ {
// If we find a rom or disk, add it // If we find a rom or disk, add it
if (node.NodeType == XmlNodeType.Element && (child.Name == "rom" || child.Name == "disk")) if (child.NodeType == XmlNodeType.Element && (child.Name == "rom" || child.Name == "disk"))
{ {
// Take care of hex-sized files // Take care of hex-sized files
long size = -1; long size = -1;