[FileTools] Set the 2 explicit times where it will never be Disk

This commit is contained in:
Matt Nadareski
2017-10-31 02:25:56 -07:00
parent c3956c09af
commit 36f1eaf4c5

View File

@@ -410,7 +410,7 @@ namespace SabreTools.Library.Tools
}
// Now add the information to the database if it's not already there
Rom rom = (Rom)GetFileInfo(newfile);
Rom rom = (Rom)GetFileInfo(newfile, ignorechd: true);
DatabaseTools.AddHeaderToDatabase(hstr, rom.SHA1, rule.SourceFile);
return true;
@@ -509,7 +509,7 @@ namespace SabreTools.Library.Tools
}
// First, get the SHA-1 hash of the file
Rom rom = (Rom)GetFileInfo(file);
Rom rom = (Rom)GetFileInfo(file, ignorechd: true);
// Retrieve a list of all related headers from the database
List<string> headers = DatabaseTools.RetrieveHeadersFromDatabase(rom.SHA1);