[DatTools] Enable rest of dats to be output in same format

This commit is contained in:
Matt Nadareski
2016-08-31 20:53:20 -07:00
parent b63dc1a396
commit ef9efd691a

View File

@@ -1790,8 +1790,12 @@ namespace SabreTools.Helper
// Reset the header values so the next can be captured
Dictionary<string, List<Rom>> temp = userData.Files;
userData = new Dat();
userData.Files = temp;
userData = new Dat
{
OutputFormat = (inputDat.OutputFormat != OutputFormat.None ? inputDat.OutputFormat : OutputFormat.None),
Files = temp,
MergeRoms = inputDat.MergeRoms,
};
}
}