diff --git a/SabreTools.Helper/Objects/DATFromDir.cs b/SabreTools.Helper/Objects/DATFromDir.cs index 50beb39a..c297365b 100644 --- a/SabreTools.Helper/Objects/DATFromDir.cs +++ b/SabreTools.Helper/Objects/DATFromDir.cs @@ -325,12 +325,12 @@ namespace SabreTools 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 (lastparent != null && _datdata.Files.Count == 0) - { - _datdata.Files.Add("temp", new List()); - } + // If we had roms but not blanks (and not in Romba mode), create an artifical rom for the purposes of outputting + if (!_datdata.Romba && lastparent != null && _datdata.Files.Count == 0) + { + _datdata.Files.Add("temp", new List()); } // Now write the final piece and close the output stream