mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DATFromDir] Fix malformatted output
This commit is contained in:
@@ -325,12 +325,12 @@ namespace SabreTools
|
|||||||
lastparent = rom.Machine.Name;
|
lastparent = rom.Machine.Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// If we had roms but not blanks (and not in Romba mode), create an artifical rom for the purposes of outputting
|
// If we had roms but not blanks (and not in Romba mode), create an artifical rom for the purposes of outputting
|
||||||
if (lastparent != null && _datdata.Files.Count == 0)
|
if (!_datdata.Romba && lastparent != null && _datdata.Files.Count == 0)
|
||||||
{
|
{
|
||||||
_datdata.Files.Add("temp", new List<Rom>());
|
_datdata.Files.Add("temp", new List<Rom>());
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now write the final piece and close the output stream
|
// Now write the final piece and close the output stream
|
||||||
|
|||||||
Reference in New Issue
Block a user