mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix issue where no blank folders resulted in no end machine tag
This commit is contained in:
@@ -414,6 +414,12 @@ namespace SabreTools
|
||||
}
|
||||
}
|
||||
|
||||
// If we had roms but not blanks, create an artifical rom for the purposes of outputting
|
||||
if (lastparent != null && _datdata.Roms.Count == 0)
|
||||
{
|
||||
_datdata.Roms.Add("temp", new List<RomData>());
|
||||
}
|
||||
|
||||
// Now write the final piece and close the output stream
|
||||
Output.WriteFooter(sw, _datdata, 0, _logger);
|
||||
sw.Close();
|
||||
|
||||
Reference in New Issue
Block a user