mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +08:00
(IgsDataOpener): works on physical file system only.
This commit is contained in:
parent
0f6da36925
commit
2ba9791d90
@ -47,7 +47,7 @@ namespace GameRes.Formats.CellWorks
|
|||||||
|
|
||||||
public override ArcFile TryOpen (ArcView file)
|
public override ArcFile TryOpen (ArcView file)
|
||||||
{
|
{
|
||||||
if (!file.Name.EndsWith (".dat", StringComparison.InvariantCultureIgnoreCase))
|
if (VFS.IsVirtual || !file.Name.EndsWith (".dat", StringComparison.InvariantCultureIgnoreCase))
|
||||||
return null;
|
return null;
|
||||||
var db_files = VFS.GetFiles (VFS.CombinePath (VFS.GetDirectoryName (file.Name), "*.db"));
|
var db_files = VFS.GetFiles (VFS.CombinePath (VFS.GetDirectoryName (file.Name), "*.db"));
|
||||||
if (!db_files.Any())
|
if (!db_files.Any())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user