mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Convert remaining items, add NameKey
This commit is contained in:
@@ -400,7 +400,7 @@ namespace SabreTools.DatFiles
|
||||
// Loop through the items and add
|
||||
foreach (var item in items)
|
||||
{
|
||||
var datItem = new DatItems.Formats.DeviceReference(item);
|
||||
var datItem = new DatItems.Formats.DeviceRef(item);
|
||||
datItem.SetFieldValue<DatItems.Source?>(DatItems.DatItem.SourceKey, new DatItems.Source { Index = indexId, Name = filename });
|
||||
datItem.CopyMachineInformation(machine);
|
||||
ParseAddHelper(datItem, statsOnly);
|
||||
@@ -859,7 +859,7 @@ namespace SabreTools.DatFiles
|
||||
// Loop through the items and add
|
||||
foreach (var item in items)
|
||||
{
|
||||
var datItem = new DatItems.Formats.SharedFeature(item);
|
||||
var datItem = new DatItems.Formats.SharedFeat(item);
|
||||
datItem.SetFieldValue<DatItems.Source?>(DatItems.DatItem.SourceKey, new DatItems.Source { Index = indexId, Name = filename });
|
||||
datItem.CopyMachineInformation(machine);
|
||||
ParseAddHelper(datItem, statsOnly);
|
||||
|
||||
Reference in New Issue
Block a user