CSPspEmu.Hle.Modules.iofilemgr.IoFileMgrForUser.sceIoDopen C# (CSharp) Method

sceIoDopen() private method

private sceIoDopen ( string DirectoryPath ) : SceUID
DirectoryPath string
return SceUID
        public SceUID sceIoDopen(string DirectoryPath)
        {
            try
            {
                var Info = HleIoManager.ParsePath(DirectoryPath);
                Info.HleIoDrvFileArg.HleIoDriver.IoDopen(Info.HleIoDrvFileArg, Info.LocalPath);
                return HleIoManager.HleIoDrvFileArgPool.Create(Info.HleIoDrvFileArg);
            }
            catch (DirectoryNotFoundException)
            {
                throw (new SceKernelException(SceKernelErrors.ERROR_ERRNO_FILE_NOT_FOUND));
            }
            catch (FileNotFoundException)
            {
                throw (new SceKernelException(SceKernelErrors.ERROR_ERRNO_FILE_NOT_FOUND));
            }
            catch (InvalidOperationException InvalidOperationException)
            {
                Console.Error.WriteLine(InvalidOperationException);
            }
            finally
            {
                _DelayIo(IoDelayType.Dopen);
            }
            throw (new SceKernelException(SceKernelErrors.ERROR_ERRNO_NOT_A_DIRECTORY));
        }