[SabreTools, DatFile, Utilities] Add "output-type" flag (not hooked up)

This commit is contained in:
Matt Nadareski
2018-01-23 11:39:35 -08:00
parent 6e47a1d809
commit a0d585d994
4 changed files with 98 additions and 4 deletions

View File

@@ -3222,7 +3222,7 @@ namespace SabreTools.Library.DatFiles
FileName = (String.IsNullOrWhiteSpace(FileName) ? (keepext ? Path.GetFileName(filename) : Path.GetFileNameWithoutExtension(filename)) : FileName);
// If the output type isn't set already, get the internal output type
DatFormat = (DatFormat == 0 ? Utilities.GetDatFormat(filename) : DatFormat);
DatFormat = (DatFormat == 0 ? Utilities.GetDatFormatFromFile(filename) : DatFormat);
// Now parse the correct type of DAT
try