aboutsummaryrefslogtreecommitdiff
path: root/BDInfo
diff options
context:
space:
mode:
Diffstat (limited to 'BDInfo')
-rw-r--r--BDInfo/BDROM.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/BDInfo/BDROM.cs b/BDInfo/BDROM.cs
index d42e381da..123d1afe5 100644
--- a/BDInfo/BDROM.cs
+++ b/BDInfo/BDROM.cs
@@ -137,19 +137,19 @@ namespace BDInfo
}
if (DirectoryBDJO != null &&
- _fileSystem.GetFiles(DirectoryBDJO.FullName).Any())
+ _fileSystem.GetFilePaths(DirectoryBDJO.FullName).Any())
{
IsBDJava = true;
}
if (DirectorySNP != null &&
- GetFiles(DirectorySNP.FullName, ".mnv").Any())
+ GetFilePaths(DirectorySNP.FullName, ".mnv").Any())
{
IsPSP = true;
}
if (DirectorySSIF != null &&
- _fileSystem.GetFiles(DirectorySSIF.FullName).Any())
+ _fileSystem.GetFilePaths(DirectorySSIF.FullName).Any())
{
Is3D = true;
}
@@ -209,6 +209,11 @@ namespace BDInfo
return _fileSystem.GetFiles(path, new[] { extension }, false, false);
}
+ private IEnumerable<string> GetFilePaths(string path, string extension)
+ {
+ return _fileSystem.GetFilePaths(path, new[] { extension }, false, false);
+ }
+
public void Scan()
{
List<TSStreamClipFile> errorStreamClipFiles = new List<TSStreamClipFile>();