diff --git a/RombaSharp/Features/Dir2Dat.cs b/RombaSharp/Features/Dir2Dat.cs index f002cced..325e7809 100644 --- a/RombaSharp/Features/Dir2Dat.cs +++ b/RombaSharp/Features/Dir2Dat.cs @@ -55,7 +55,7 @@ namespace RombaSharp.Features datfile.Header.Description = description; datfile.PopulateFromDir(source, asFiles: TreatAsFile.AaruFormat | TreatAsFile.CHD); datfile.ApplyCleaning(new Cleaner() { ExcludeFields = Hash.DeepHashes.AsFields() }); - datfile.Write(outDir: outdat); + datfile.Write(outdat); } } } diff --git a/SabreTools.Library/DatFiles/DatFile.cs b/SabreTools.Library/DatFiles/DatFile.cs index bde88cc1..ec5cc2fe 100644 --- a/SabreTools.Library/DatFiles/DatFile.cs +++ b/SabreTools.Library/DatFiles/DatFile.cs @@ -3422,11 +3422,11 @@ namespace SabreTools.Library.DatFiles /// Create and open an output file for writing direct from a dictionary /// /// Set the output directory (current directory on null) - /// True if blank roms should be skipped on output, false otherwise (default) /// True if files should be overwritten (default), false if they should be renamed instead + /// True if blank roms should be skipped on output, false otherwise (default) /// True if the error that is thrown should be thrown back to the caller, false otherwise /// True if the DAT was written correctly, false otherwise - public bool Write(string outDir, bool ignoreblanks = false, bool overwrite = true, bool throwOnError = false) + public bool Write(string outDir, bool overwrite = true, bool ignoreblanks = false, bool throwOnError = false) { // If we have nothing writable, abort if (!HasWritable())