mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(DatOpener.TryOpen): compare .lst filename against archive name.
This commit is contained in:
parent
2d22dbe946
commit
3342461ac6
@ -49,6 +49,8 @@ namespace GameRes.Formats.Ffa
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
string lst_name = Path.ChangeExtension (file.Name, ".lst");
|
||||
if (lst_name == file.Name)
|
||||
return null;
|
||||
var lst_info = new FileInfo (lst_name);
|
||||
if (!lst_info.Exists)
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user