mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ClrMamePro, Logiqx] Minor tweaks to additional fields
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user