mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
Merge branch 'master' of https://github.com/crskycode/GARbro
This commit is contained in:
commit
836afd036d
@ -67,6 +67,12 @@ namespace GARbro
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImageFormat FindFormat(string format)
|
||||||
|
{
|
||||||
|
var range = FormatCatalog.Instance.LookupExtension<ImageFormat>(format);
|
||||||
|
return range.FirstOrDefault();
|
||||||
|
}
|
||||||
|
|
||||||
void Run (string[] args)
|
void Run (string[] args)
|
||||||
{
|
{
|
||||||
int argn = 0;
|
int argn = 0;
|
||||||
@ -131,7 +137,7 @@ namespace GARbro
|
|||||||
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);
|
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
var arc = (ArchiveFileSystem)VFS.Top;
|
var arc = ((ArchiveFileSystem)VFS.Top).Source;
|
||||||
if (args.Length > argn+1)
|
if (args.Length > argn+1)
|
||||||
{
|
{
|
||||||
for (int i = argn+1; i < args.Length; ++i)
|
for (int i = argn+1; i < args.Length; ++i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user