mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Output] XML is default output further down the line
This commit is contained in:
@@ -25,6 +25,12 @@ namespace SabreTools.Helper
|
||||
/// </remarks>
|
||||
public static bool WriteDatfile(Dat datdata, string outDir, Logger logger, bool norename = true, bool stats = false)
|
||||
{
|
||||
// If the DAT has no output format, default to XML
|
||||
if (datdata.OutputFormat == OutputFormat.None)
|
||||
{
|
||||
datdata.OutputFormat = OutputFormat.Xml;
|
||||
}
|
||||
|
||||
// Output initial statistics, for kicks
|
||||
if (stats)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user