mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 14:55:11 +00:00
Machine is now propertyful
This commit is contained in:
@@ -225,7 +225,7 @@ namespace SabreTools.Metadata.DatFiles
|
||||
FilterRunner? filterRunner)
|
||||
{
|
||||
// If the machine is invalid, we can't do anything
|
||||
if (item is null || item.Count == 0)
|
||||
if (item is null)
|
||||
return;
|
||||
|
||||
// If the machine doesn't pass the filter
|
||||
|
||||
@@ -576,7 +576,7 @@ namespace SabreTools.Metadata.DatFiles
|
||||
game = machine?.Name ?? string.Empty,
|
||||
manufacturer = machine?.Manufacturer ?? string.Empty,
|
||||
publisher = machine?.Publisher ?? string.Empty,
|
||||
category = machine?.ReadString(Data.Models.Metadata.Machine.CategoryKey) ?? string.Empty,
|
||||
category = machine?.Category is null ? string.Empty : string.Join(", ", machine.Category),
|
||||
name = item.GetName() ?? type.AsStringValue() ?? string.Empty,
|
||||
crc16 = string.Empty,
|
||||
crc = string.Empty,
|
||||
|
||||
Reference in New Issue
Block a user