Extensions are confusing

This commit is contained in:
Matt Nadareski
2016-04-19 13:11:11 -07:00
parent 20aee2ffae
commit 788bf2d794
3 changed files with 17 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ namespace SabreTools
// Now write the file out accordingly
Output.WriteToDat(Path.GetFileNameWithoutExtension(filename),
Path.GetFileNameWithoutExtension(filename), "", "", "", "", _forceunpack, Path.GetExtension(filename) == ".dat", Path.GetDirectoryName(filename), outroms, logger);
Path.GetFileNameWithoutExtension(filename), "", "", "", "", _forceunpack, !RomManipulation.IsXmlDat(filename), Path.GetDirectoryName(filename), outroms, logger);
}
}
}