mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Include slotoptions as devices
This commit is contained in:
@@ -1374,8 +1374,17 @@ namespace SabreTools.Helper.Dats
|
||||
{
|
||||
machine.Devices.Add(device);
|
||||
}
|
||||
|
||||
subreader.Read();
|
||||
break;
|
||||
case "slotoption":
|
||||
string slotoption = subreader.GetAttribute("devname");
|
||||
if (!machine.Devices.Contains(slotoption))
|
||||
{
|
||||
machine.Devices.Add(slotoption);
|
||||
}
|
||||
|
||||
subreader.Read();
|
||||
|
||||
break;
|
||||
case "publisher":
|
||||
publisher = subreader.ReadElementContentAsString();
|
||||
|
||||
Reference in New Issue
Block a user