mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Structs] Rename File to Rom again
I'm reverting this because there might be cases where System.IO.File and SabreTools.Helper.File could be in conflict
This commit is contained in:
@@ -254,7 +254,7 @@ namespace SabreTools
|
||||
}
|
||||
|
||||
// Now add the information to the database if it's not already there
|
||||
Helper.File rom = RomTools.GetSingleFileInfo(newfile);
|
||||
Helper.Rom rom = RomTools.GetSingleFileInfo(newfile);
|
||||
AddHeaderToDatabase(hstr, rom.HashData.SHA1, type);
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ namespace SabreTools
|
||||
public bool ReplaceHeader(string file)
|
||||
{
|
||||
// First, get the SHA-1 hash of the file
|
||||
Helper.File rom = RomTools.GetSingleFileInfo(file);
|
||||
Helper.Rom rom = RomTools.GetSingleFileInfo(file);
|
||||
|
||||
// Then try to pull the corresponding headers from the database
|
||||
string header = "";
|
||||
|
||||
Reference in New Issue
Block a user