mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[FileTools] Set the 2 explicit times where it will never be Disk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user