diff --git a/SabreTools.Library/DatFiles/Listxml.cs b/SabreTools.Library/DatFiles/Listxml.cs index 95666f87..c7e94ac2 100644 --- a/SabreTools.Library/DatFiles/Listxml.cs +++ b/SabreTools.Library/DatFiles/Listxml.cs @@ -60,7 +60,7 @@ namespace SabreTools.Library.DatFiles // All XML-derived DATs share a lot in common so it just calls one implementation // TODO: Use the following implementation instead of passing to Logiqx new Logiqx(this, false).ParseFile(filename, sysid, srcid, keep, clean, remUnicode); - return; + return; // Prepare all internal variables Encoding enc = Utilities.GetEncoding(filename); @@ -128,6 +128,7 @@ namespace SabreTools.Library.DatFiles /// /// Read machine information /// + /// XmlReader representing a machine block /// Name of the file to be parsed /// System ID for the DAT /// Source ID for the DAT @@ -187,6 +188,7 @@ namespace SabreTools.Library.DatFiles CloneOf = reader.GetAttribute("cloneof") ?? "", RomOf = reader.GetAttribute("romof") ?? "", SampleOf = reader.GetAttribute("sampleof") ?? "", + Devices = new List(), MachineType = (machineType == MachineType.NULL ? MachineType.None : machineType), };