These things are taken care of in the main method

This commit is contained in:
Matt Nadareski
2016-04-28 17:19:00 -07:00
parent 2bf2fe9b80
commit 385bd17cf9

View File

@@ -150,18 +150,6 @@ namespace SabreTools.Helper
public static bool WriteToDatFromDict(string name, string description, string version, string date, string category, string author,
bool forceunpack, bool old, bool merge, string outDir, Dictionary<string, List<RomData>> dict, Logger logger)
{
// If it's empty, use the current folder
if (outDir.Trim() == "")
{
outDir = Environment.CurrentDirectory;
}
// Double check the outdir for the end delim
if (!outDir.EndsWith(Path.DirectorySeparatorChar.ToString()))
{
outDir += Path.DirectorySeparatorChar;
}
// Get all values in the dictionary and write out
List<RomData> sortable = new List<RomData>();
List<string> keys = dict.Keys.ToList();