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:
@@ -73,7 +73,7 @@ namespace SabreTools
|
||||
};
|
||||
|
||||
// Load the current DAT to be processed
|
||||
datdata = RomManipulation.ParseDict(_filename, 0, 0, datdata, _logger);
|
||||
datdata = RomManipulation.Parse(_filename, 0, 0, datdata, _logger);
|
||||
|
||||
// Set all of the appropriate outputs for each of the subsets
|
||||
OutputFormat outputFormat = RomManipulation.GetOutputFormat(_filename);
|
||||
@@ -172,8 +172,8 @@ namespace SabreTools
|
||||
}
|
||||
|
||||
// Then write out both files
|
||||
bool success = Output.WriteToDatFromDict(datdataA, _outdir, _logger);
|
||||
success &= Output.WriteToDatFromDict(datdataB, _outdir, _logger);
|
||||
bool success = Output.WriteDatfile(datdataA, _outdir, _logger);
|
||||
success &= Output.WriteDatfile(datdataB, _outdir, _logger);
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user