Add Media tests

This commit is contained in:
Matt Nadareski
2025-01-08 16:36:58 -05:00
parent b97c8149fc
commit 47323eb12a
2 changed files with 432 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ namespace SabreTools.DatItems.Formats
public Rom ConvertToRom()
{
var rom = new Rom(_internal.ConvertToRom()!);
rom.SetFieldValue<DupeType>(DatItem.DupeTypeKey, GetFieldValue<DupeType>(DatItem.DupeTypeKey));
rom.SetFieldValue<Machine>(DatItem.MachineKey, GetFieldValue<Machine>(DatItem.MachineKey));
rom.SetFieldValue<bool?>(DatItem.RemoveKey, GetBoolFieldValue(DatItem.RemoveKey));