mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Possible software list write out fix
This commit is contained in:
@@ -4621,13 +4621,6 @@ namespace SabreTools.Helper
|
||||
{
|
||||
state += "\t\t<info name=\"" + kvp.Key + "\" value=\"" + kvp.Value + "\">\n";
|
||||
}
|
||||
|
||||
state += "\t\t<part name=\"" + rom.PartName + "\" interface=\"" + rom.PartInterface + "\">\n";
|
||||
|
||||
foreach (KeyValuePair<string, string> kvp in rom.Features)
|
||||
{
|
||||
state += "\t\t\t<feature name=\"" + kvp.Key + "\" value=\"" + kvp.Value + "\">\n";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -5169,6 +5162,13 @@ namespace SabreTools.Helper
|
||||
}
|
||||
break;
|
||||
case OutputFormat.SoftwareList:
|
||||
state += "\t\t<part name=\"" + rom.PartName + "\" interface=\"" + rom.PartInterface + "\">\n";
|
||||
|
||||
foreach (KeyValuePair<string, string> kvp in rom.Features)
|
||||
{
|
||||
state += "\t\t\t<feature name=\"" + kvp.Key + "\" value=\"" + kvp.Value + "\" />\n";
|
||||
}
|
||||
|
||||
switch (rom.Type)
|
||||
{
|
||||
case ItemType.Archive:
|
||||
|
||||
Reference in New Issue
Block a user