From 9b19ea3c87518234fd72a6dead727eb5d8379c0d Mon Sep 17 00:00:00 2001 From: Thomas Guillemard Date: Wed, 17 Oct 2018 01:55:10 +0200 Subject: [PATCH] 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. --- Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs b/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystem.cs index b77043bddb..bd249e5084 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;