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

sceIoDread() private method

private sceIoDread ( SceUID FileId, HleIoDirent IoDirent ) : int
FileId SceUID
IoDirent CSPspEmu.Hle.Vfs.HleIoDirent
return int
        public int sceIoDread(SceUID FileId, HleIoDirent* IoDirent)
        {
            try
            {
                var HleIoDrvFileArg = GetFileArgFromHandle(FileId);
                return HleIoDrvFileArg.HleIoDriver.IoDread(HleIoDrvFileArg, IoDirent);
            }
            catch (Exception Exception)
            {
                Console.Error.WriteLine(Exception);
                return -1;
            }
            finally
            {
                _DelayIo(IoDelayType.Dread);
            }
        }