mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
use ArcFile.TryOpen (Entry) overload.
This commit is contained in:
parent
428214182d
commit
ddff997522
@ -89,7 +89,7 @@ namespace GARbro
|
|||||||
foreach (var file in VFS.GetFiles (args[argn]))
|
foreach (var file in VFS.GetFiles (args[argn]))
|
||||||
{
|
{
|
||||||
m_arc_name = file.Name;
|
m_arc_name = file.Name;
|
||||||
var arc = ArcFile.TryOpen (m_arc_name);
|
var arc = ArcFile.TryOpen (file);
|
||||||
if (null == arc)
|
if (null == arc)
|
||||||
{
|
{
|
||||||
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);
|
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user