From 600ec5b4fcc8ac94b6ae225a54e665de9b557d43 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 18 May 2016 17:06:13 -0700 Subject: [PATCH] log if disk is found because some tools don't like it I dunno, ask Obiwantje... --- SabreHelper/RomManipulation.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SabreHelper/RomManipulation.cs b/SabreHelper/RomManipulation.cs index 4c73a05b..b76f1282 100644 --- a/SabreHelper/RomManipulation.cs +++ b/SabreHelper/RomManipulation.cs @@ -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;