[ClrMamePro, Logiqx] Minor tweaks to additional fields

This commit is contained in:
Matt Nadareski
2018-01-17 14:36:13 -08:00
parent cc8fca6040
commit 3a23afe732
2 changed files with 3 additions and 4 deletions

View File

@@ -310,8 +310,8 @@ namespace SabreTools.Library.DatFiles
// Then populate it with information // Then populate it with information
item.CopyMachineInformation(machine); item.CopyMachineInformation(machine);
item.SourceFile = filename;
item.SystemID = sysid; item.SystemID = sysid;
item.System = filename;
item.SourceID = srcid; item.SourceID = srcid;
// If we have a sample, treat it special // If we have a sample, treat it special
@@ -654,8 +654,8 @@ namespace SabreTools.Library.DatFiles
{ {
Blank blank = new Blank() Blank blank = new Blank()
{ {
SourceFile = filename,
SystemID = sysid, SystemID = sysid,
System = filename,
SourceID = srcid, SourceID = srcid,
}; };
blank.CopyMachineInformation(machine); blank.CopyMachineInformation(machine);

View File

@@ -608,8 +608,7 @@ namespace SabreTools.Library.DatFiles
// string crc = Utilities.GetYesNo(content); // string crc = Utilities.GetYesNo(content);
break; break;
case "source": case "source":
content = reader.ReadElementContentAsString(); machine.SourceFile = reader.ReadElementContentAsString();
// string source = content;
break; break;
case "cloneof": case "cloneof":
machine.CloneOf = reader.ReadElementContentAsString(); machine.CloneOf = reader.ReadElementContentAsString();