aboutsummaryrefslogtreecommitdiff
path: root/BDInfo
diff options
context:
space:
mode:
Diffstat (limited to 'BDInfo')
-rw-r--r--BDInfo/BDROM.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BDInfo/BDROM.cs b/BDInfo/BDROM.cs
index 123d1afe5..d86648364 100644
--- a/BDInfo/BDROM.cs
+++ b/BDInfo/BDROM.cs
@@ -96,7 +96,7 @@ namespace BDInfo
}
DirectoryRoot =
- _fileSystem.GetDirectoryInfo(Path.GetDirectoryName(DirectoryBDMV.FullName));
+ _fileSystem.GetDirectoryInfo(_fileSystem.GetDirectoryName(DirectoryBDMV.FullName));
DirectoryBDJO =
GetDirectory("BDJO", DirectoryBDMV, 0);
DirectoryCLIPINF =
@@ -349,7 +349,7 @@ namespace BDInfo
{
return dir;
}
- var parentFolder = Path.GetDirectoryName(dir.FullName);
+ var parentFolder = _fileSystem.GetDirectoryName(dir.FullName);
if (string.IsNullOrEmpty(parentFolder))
{
dir = null;