diff --git a/SabreTools/SabreTools.Inits.cs b/SabreTools/SabreTools.Inits.cs
index 0038c221..0cbbf83f 100644
--- a/SabreTools/SabreTools.Inits.cs
+++ b/SabreTools/SabreTools.Inits.cs
@@ -29,6 +29,7 @@ namespace SabreTools
/// Hash flag saying what hashes should not be calculated
/// True if the date should be omitted from the DAT, false otherwise
/// True if archives should be treated as files, false otherwise
+ /// True if CHDs should be treated like regular files, false otherwise
/// Type of files that should be skipped on scan
/// True if blank items should be created for empty folders, false otherwise
/// True if dates should be archived for all files, false otherwise
@@ -36,7 +37,6 @@ namespace SabreTools
/// Name of the directory to create a temp folder in (blank is default temp directory)
/// Name of the directory to output the DAT to (blank is the current directory)
/// True if files should be copied to the temp directory before hashing, false otherwise
- /// True if CHDs should be treated like regular files, false otherwise
private static void InitDatFromDir(List inputs,
/* Normal DAT header info */
DatHeader datHeader,
@@ -45,6 +45,7 @@ namespace SabreTools
Hash omitFromScan,
bool removeDateFromAutomaticName,
bool archivesAsFiles,
+ bool chdsAsFiles,
SkipFileType skipFileType,
bool addBlankFilesForEmptyFolder,
bool addFileDates,
@@ -52,8 +53,7 @@ namespace SabreTools
/* Output DAT info */
string tempDir,
string outDir,
- bool copyFiles,
- bool chdsAsFiles)
+ bool copyFiles)
{
// Create a new DATFromDir object and process the inputs
DatFile basedat = new DatFile(datHeader)
diff --git a/SabreTools/SabreTools.cs b/SabreTools/SabreTools.cs
index 45692525..20d48b25 100644
--- a/SabreTools/SabreTools.cs
+++ b/SabreTools/SabreTools.cs
@@ -729,8 +729,8 @@ namespace SabreTools
// Create a DAT from a directory or set of directories
if (datFromDir)
{
- InitDatFromDir(inputs, datHeader, omitFromScan, removeDateFromAutomaticName, archivesAsFiles,
- skipFileType, addBlankFilesForEmptyFolder, addFileDates, tempDir, outDir, copyFiles, chdsAsFiles);
+ InitDatFromDir(inputs, datHeader, omitFromScan, removeDateFromAutomaticName, archivesAsFiles, chdsAsFiles,
+ skipFileType, addBlankFilesForEmptyFolder, addFileDates, tempDir, outDir, copyFiles);
}
// If we're in header extract and remove mode