Move sorting and merging to DatFileTool

This commit is contained in:
Matt Nadareski
2025-01-07 15:40:05 -05:00
parent 0abef5f92e
commit 4924abaefe
6 changed files with 244 additions and 229 deletions

View File

@@ -904,7 +904,7 @@ namespace SabreTools.DatTools
foreach (var key in datFile.Items.Keys)
#endif
{
List<DatItem> items = DatItemTool.Merge(datFile.Items[key]);
List<DatItem> items = DatFileTool.Merge(datFile.Items[key]);
// If the rom list is empty or null, just skip it
if (items == null || items.Count == 0)