Explorar o código

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.
Thomas Guillemard %!s(int64=7) %!d(string=hai) anos
pai
achega
9b19ea3c87
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs

+ 0 - 5
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;