log if disk is found because some tools don't like it

I dunno, ask Obiwantje...
This commit is contained in:
Matt Nadareski
2016-05-18 17:06:13 -07:00
parent 5364f88c76
commit 600ec5b4fc

View File

@@ -351,6 +351,12 @@ namespace SabreTools.Helper
// Only add the rom if there's useful information in it
if (!(crc == "" && md5 == "" && sha1 == "") || nodump)
{
// If we got to this point and it's a disk, log it because some tools don't like disks
if (xtr.Name == "disk")
{
logger.Log("Disk found: \"" + xtr.GetAttribute("name") + "\"");
}
// Get the new values to add
key = size + "-" + crc;