Create passthrough methods for scaffolding

This commit is contained in:
Matt Nadareski
2025-01-12 22:10:48 -05:00
parent c8fda8d99d
commit d80a6b173c
16 changed files with 342 additions and 277 deletions

View File

@@ -230,7 +230,7 @@ namespace SabreTools.DatTools
{
// Add the list if it doesn't exist already
Rom rom = baseFile.ConvertToRom();
datFile.Items.Add(rom.GetKey(ItemKey.CRC), rom);
datFile.Add(rom.GetKey(ItemKey.CRC), rom);
_staticLogger.Verbose($"File added: {Path.GetFileNameWithoutExtension(item)}");
}
else
@@ -441,7 +441,7 @@ namespace SabreTools.DatTools
// Add the file information to the DAT
string key = datItem.GetKey(ItemKey.CRC);
datFile.Items.Add(key, datItem);
datFile.Add(key, datItem);
_staticLogger.Verbose($"File added: {datItem.GetName() ?? string.Empty}");
}