public static SceIoStat GetStat(this IHleIoDriver HleIoDriver, string FileName) { var HleIoDrvFileArg = new HleIoDrvFileArg("none", HleIoDriver, 0, null); var SceIoStat = default(SceIoStat); HleIoDriver.IoGetstat(HleIoDrvFileArg, FileName, &SceIoStat); return(SceIoStat); }
public static bool FileExists(this IHleIoDriver HleIoDriver, string FileName) { try { var HleIoDrvFileArg = new HleIoDrvFileArg("none", HleIoDriver, 0, null); var SceIoStat = default(SceIoStat); HleIoDriver.IoGetstat(HleIoDrvFileArg, FileName, &SceIoStat); return(true); } catch { return(false); } }
public virtual int IoGetstat(HleIoDrvFileArg HleIoDrvFileArg, string FileName, SceIoStat *Stat) { return(ParentDriver.IoGetstat(HleIoDrvFileArg, FileName, Stat)); }