mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Quotes are for my friends
This commit is contained in:
@@ -34,7 +34,7 @@ namespace SabreTools
|
||||
Build.Start("DatToMiss");
|
||||
|
||||
string prefix = "", postfix = "", input = "";
|
||||
bool tofile = false, help = false, usegame = true;
|
||||
bool tofile = false, help = false, usegame = true, quotes = false;
|
||||
foreach (string arg in args)
|
||||
{
|
||||
switch (arg)
|
||||
@@ -52,6 +52,10 @@ namespace SabreTools
|
||||
case "--roms":
|
||||
usegame = false;
|
||||
break;
|
||||
case "-q":
|
||||
case "--quotes":
|
||||
quotes = true;
|
||||
break;
|
||||
default:
|
||||
if ((arg.StartsWith("-pre=") || arg.StartsWith("--prefix=")) && prefix == "")
|
||||
{
|
||||
@@ -89,7 +93,7 @@ namespace SabreTools
|
||||
name += Path.GetFileNameWithoutExtension(input) + "-miss.txt";
|
||||
|
||||
// Read in the roms from the DAT and then write them to the file
|
||||
Output.WriteToText(name, Path.GetDirectoryName(input), RomManipulation.Parse(input, 0, 0, logger), logger, usegame, prefix, postfix);
|
||||
Output.WriteToText(name, Path.GetDirectoryName(input), RomManipulation.Parse(input, 0, 0, logger), logger, usegame, prefix, postfix, quotes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user