mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Migrate most DatItem conversion code
This commit is contained in:
@@ -229,7 +229,7 @@ namespace SabreTools.DatTools
|
||||
if (baseFile != null && baseFile.Filename != null)
|
||||
{
|
||||
// Add the list if it doesn't exist already
|
||||
Rom rom = new(baseFile);
|
||||
Rom rom = baseFile.ConvertToRom();
|
||||
datFile.Items.Add(rom.GetKey(ItemKey.CRC), rom);
|
||||
logger.Verbose($"File added: {Path.GetFileNameWithoutExtension(item)}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user