use ArcFile.TryOpen (Entry) overload.

This commit is contained in:
morkt 2016-12-17 18:43:55 +04:00
parent 428214182d
commit ddff997522

View File

@ -89,7 +89,7 @@ namespace GARbro
foreach (var file in VFS.GetFiles (args[argn]))
{
m_arc_name = file.Name;
var arc = ArcFile.TryOpen (m_arc_name);
var arc = ArcFile.TryOpen (file);
if (null == arc)
{
Console.Error.WriteLine ("{0}: unknown format", m_arc_name);