mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 13:43:17 +02:00
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.
This commit is contained in:
parent
76330b10b4
commit
9b19ea3c87
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user