mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Split ApplyRemovals for testability
This commit is contained in:
@@ -130,7 +130,9 @@ namespace SabreTools.DatTools
|
||||
public void ApplyRemovals(DatFile datFile)
|
||||
{
|
||||
InternalStopwatch watch = new("Applying removals to DAT");
|
||||
datFile.ApplyRemovals(HeaderFieldNames, MachineFieldNames, ItemFieldNames);
|
||||
datFile.RemoveHeaderFields(HeaderFieldNames);
|
||||
datFile.RemoveItemFields(MachineFieldNames, ItemFieldNames);
|
||||
datFile.RemoveItemFieldsDB(MachineFieldNames, ItemFieldNames);
|
||||
watch.Stop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user