Replace usages of Name field (nw)

This commit is contained in:
Matt Nadareski
2024-03-08 20:42:24 -05:00
parent 71dcc04558
commit 2dbe257023
59 changed files with 268 additions and 564 deletions

View File

@@ -143,7 +143,6 @@ namespace SabreTools.DatFiles.Formats
string name = $"{machine.Name}_{index++}{(!string.IsNullOrEmpty(rom.Remark) ? $" {rom.Remark}" : string.Empty)}";
var item = new Rom
{
Name = name,
Offset = dump.Rom?.Start,
OpenMSXType = rom.Type,
SHA1 = rom.Hash,
@@ -155,6 +154,7 @@ namespace SabreTools.DatFiles.Formats
Name = filename,
},
};
item.SetName(name);
if (dump.Original != null)
{