[SabreTools] Code cleanup

This commit is contained in:
Matt Nadareski
2016-06-20 16:02:41 -07:00
parent 27afa47c00
commit a609a3c3bb
2 changed files with 5 additions and 6 deletions

View File

@@ -308,10 +308,12 @@ Make a selection:
Console.Clear();
List<string> temp = new List<string>();
temp.Add(input);
/*
InitUpdate(temp, "", "", "", "", "", "", "", "", "", "", "", "", false, "", "", "",
(outputFormat == OutputFormat.ClrMamePro), (outputFormat == OutputFormat.MissFile), (outputFormat == OutputFormat.RomCenter),
(outputFormat == OutputFormat.SabreDat), (outputFormat == OutputFormat.Xml), false, "", "", false, "", "", false, false, false,
false, false, false, false, false, "", "", "", -1, -1, -1, "", "", "", null, outdir, false, false);
*/
Console.Write("\nPress any key to continue...");
Console.ReadKey();
input = ""; outdir = "";
@@ -401,10 +403,12 @@ Make a selection:
Console.Clear();
List<string> temp = new List<string>();
temp.Add(input);
/*
InitUpdate(temp, "", "", "", "", "", "", "", "", "", "", "", "", false, "", "", "",
false, true, false, false, false, usegame, prefix, postfix, quotes, repext, addext,
gamename, romba, tsv, false, false, false, false, false, "", "", "", -1, -1, -1,
"", "", "", null, "", false, false);
*/
Console.Write("\nPress any key to continue...");
Console.ReadKey();
input = ""; prefix = ""; postfix = ""; addext = ""; repext = "";
@@ -458,7 +462,7 @@ Make a selection:
break;
case "5":
Console.Clear();
InitTrimMerge(input, root, rename, forceunpack);
//InitTrimMerge(input, root, rename, forceunpack);
Console.Write("\nPress any key to continue...");
Console.ReadKey();
selection = ""; input = ""; root = "";

View File

@@ -87,7 +87,6 @@ namespace SabreTools
datprefix = false,
dedup = false,
diff = false,
disableForce = false,
enableGzip = false,
extsplit = false,
fake = false,
@@ -218,10 +217,6 @@ namespace SabreTools
case "--dedup":
dedup = true;
break;
case "-df":
case "--disable-force":
disableForce = true;
break;
case "-di":
case "--diff":
diff = true;