[RomTools] Create another helper class

This commit is contained in:
Matt Nadareski
2016-06-13 23:42:27 -07:00
parent b70f8e1a4e
commit 5de7429b00
10 changed files with 359 additions and 349 deletions

View File

@@ -297,7 +297,7 @@ namespace SabreTools
_logger.User("Beginning processing of '" + input + "'");
// Get the hash of the file first
RomData rom = DatTools.GetSingleFileInfo(input);
RomData rom = RomTools.GetSingleFileInfo(input);
// If we have a blank RomData, it's an error
if (rom.Name == null)
@@ -306,7 +306,7 @@ namespace SabreTools
}
// Try to find the matches to the file that was found
List<RomData> foundroms = DatTools.GetDuplicates(rom, _datdata);
List<RomData> foundroms = RomTools.GetDuplicates(rom, _datdata);
_logger.User("File '" + input + "' had " + foundroms.Count + " matches in the DAT!");
foreach (RomData found in foundroms)
{