mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
More code cleanup
This change comprises of multiple smaller changes: - Convert all WriteToDat to WriteToDatFromDict, including MissFile - Change obsolete Import to use updated ParseDict - Remove all references to Parse - Rename all references to "Dict" specific code to shorter names - Remove more unused methods rendered obsolete by other changes
This commit is contained in:
@@ -174,7 +174,7 @@ namespace SabreTools
|
||||
{
|
||||
Int32.TryParse(sourcemap[hash], out tempSrcId);
|
||||
}
|
||||
datdata = RomManipulation.ParseDict(file, 0, tempSrcId, datdata, _logger);
|
||||
datdata = RomManipulation.Parse(file, 0, tempSrcId, datdata, _logger);
|
||||
}
|
||||
|
||||
// If the dictionary is empty for any reason, tell the user and exit
|
||||
@@ -239,7 +239,7 @@ namespace SabreTools
|
||||
}
|
||||
|
||||
// Then write out the file
|
||||
Output.WriteToDatFromDict(datdata, _outroot, _logger, _norename);
|
||||
Output.WriteDatfile(datdata, _outroot, _logger, _norename);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user