mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Found a case of size being dash
This commit is contained in:
@@ -86,7 +86,7 @@ namespace SabreTools
|
|||||||
logger.Start();
|
logger.Start();
|
||||||
|
|
||||||
// Output the title
|
// Output the title
|
||||||
Build.Start("DiffDat");
|
Build.Start("MergeDAT");
|
||||||
|
|
||||||
List<String> inputs = new List<String>();
|
List<String> inputs = new List<String>();
|
||||||
bool help = false, dedup = false, diff = false, forceunpack = false, old = false, log = false, noDate = false;
|
bool help = false, dedup = false, diff = false, forceunpack = false, old = false, log = false, noDate = false;
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ Options:
|
|||||||
case "MergeDAT":
|
case "MergeDAT":
|
||||||
Console.WriteLine(@"MergeDAT - Merge two or more DATs
|
Console.WriteLine(@"MergeDAT - Merge two or more DATs
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
Usage: MergeDAT [options] [filename] ...
|
Usage: MergeDAT [options] [filename|dirname] <filename|dirname> ...
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
-h, -?, --help Show this help dialog
|
-h, -?, --help Show this help dialog
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ namespace SabreTools.Helper
|
|||||||
}
|
}
|
||||||
else if (child.Attributes["size"] != null)
|
else if (child.Attributes["size"] != null)
|
||||||
{
|
{
|
||||||
size = Int64.Parse(child.Attributes["size"].Value);
|
Int64.TryParse(child.Attributes["size"].Value, out size);
|
||||||
}
|
}
|
||||||
|
|
||||||
roms.Add(new RomData
|
roms.Add(new RomData
|
||||||
@@ -240,7 +240,7 @@ namespace SabreTools.Helper
|
|||||||
}
|
}
|
||||||
else if (data.Attributes["size"] != null)
|
else if (data.Attributes["size"] != null)
|
||||||
{
|
{
|
||||||
size = Int64.Parse(data.Attributes["size"].Value);
|
Int64.TryParse(data.Attributes["size"].Value, out size);
|
||||||
}
|
}
|
||||||
|
|
||||||
roms.Add(new RomData
|
roms.Add(new RomData
|
||||||
|
|||||||
Reference in New Issue
Block a user