aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Guillemard <thog@protonmail.com>2018-10-17 01:55:10 +0200
committerAc_K <Acoustik666@gmail.com>2018-10-16 23:55:10 +0000
commit9b19ea3c87518234fd72a6dead727eb5d8379c0d (patch)
treea8489f217a6af18e69be7430599b843c9399d6f2
parent76330b10b4bc56a1143aac92b14d855aec2e1dbb (diff)
Remove IFileSystem::OpenDirectory extraneous check (#459)
A directory can be open more than one time. This fix issues with homebrews opening the same directory multiple time.
-rw-r--r--Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs b/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs
index b77043bd..bd249e50 100644
--- a/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs
+++ b/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs
@@ -281,11 +281,6 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
return MakeError(ErrorModule.Fs, FsErr.PathDoesNotExist);
}
- if (IsPathAlreadyInUse(DirName))
- {
- return MakeError(ErrorModule.Fs, FsErr.PathAlreadyInUse);
- }
-
IDirectory DirInterface = new IDirectory(DirName, FilterFlags);
DirInterface.Disposed += RemoveDirectoryInUse;