Skip to content

Commit

Permalink
Remove IFileSystem::OpenDirectory extraneous check (#459)
Browse files Browse the repository at this point in the history
A directory can be open more than one time. This fix issues with
homebrews opening the same directory multiple time.
  • Loading branch information
marysaka authored and AcK77 committed Oct 16, 2018
1 parent 76330b1 commit 9b19ea3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,6 @@ public long OpenDirectory(ServiceCtx Context)
return MakeError(ErrorModule.Fs, FsErr.PathDoesNotExist);
}

if (IsPathAlreadyInUse(DirName))
{
return MakeError(ErrorModule.Fs, FsErr.PathAlreadyInUse);
}

IDirectory DirInterface = new IDirectory(DirName, FilterFlags);

DirInterface.Disposed += RemoveDirectoryInUse;
Expand Down

0 comments on commit 9b19ea3

Please sign in to comment.