Convert ClrMamePro

This commit is contained in:
Matt Nadareski
2024-03-10 00:27:23 -05:00
parent affb300733
commit fe69f341e3
2 changed files with 5 additions and 501 deletions

View File

@@ -2,7 +2,6 @@ using System.Linq;
namespace SabreTools.DatFiles
{
// TODO: Have the converters return a value OR port functionality to DatFile
// TODO: Figure out if there's a way to condense the various processing methods
// TODO: Convert nested items (e.g. Configuration, DipLocation)
// TODO: Determine which items need to have their values flipped (e.g. Part, DiskArea, DataArea)
@@ -23,6 +22,8 @@ namespace SabreTools.DatFiles
if (item == null || !item.Any())
return;
// TODO: Add header parsing
// Get the machines from the metadata
var machines = item.Read<Models.Metadata.Machine[]>(Models.Metadata.MetadataFile.MachineKey);
if (machines == null)