mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(IgsDataOpener): works on physical file system only.
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
Reference in New Issue
Block a user