public int sceIoAddDrv(PspIoDrv *PspIoDrv) { var Name = Memory.ReadStringz(PspIoDrv->name, Encoding.UTF8); HleIoManager.SetDriver(Name + ":", new GuestHleIoDriver(InjectContext, PspIoDrv)); return(0); }
public GuestHleIoDriver(InjectContext InjectContext, PspIoDrv *PspIoDrv) { InjectContext.InjectDependencesTo(this); this.PspIoDrvArgPartition = Alloc(new PspIoDrvArg() { DriverPointer = PspMemory.PointerToPspAddressUnsafe(PspIoDrv), ArgumentPointer = 0, }); this.PspIoDrvArg = (PspIoDrvArg *)PspIoDrvArgPartition.LowPointer; this.PspIoDrv = PspIoDrv; }
public GuestHleIoDriver(PspEmulatorContext PspEmulatorContext, PspIoDrv* PspIoDrv) { PspEmulatorContext.InjectDependencesTo(this); this.PspIoDrv = PspIoDrv; }
public int sceIoAddDrv(PspIoDrv *PspIoDrv) { throw (new NotImplementedException()); }