From ddff99752238d22509747fe6170db7caa2e7a22d Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 17 Dec 2016 18:43:55 +0400 Subject: [PATCH] use ArcFile.TryOpen (Entry) overload. --- Console/ConsoleBrowser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console/ConsoleBrowser.cs b/Console/ConsoleBrowser.cs index ea7ff279..797783a3 100644 --- a/Console/ConsoleBrowser.cs +++ b/Console/ConsoleBrowser.cs @@ -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);