public void SetMethodAt(uint PC, DynarecFunction Action) { //PC &= PspMemory.MemoryMask; if (PC < PspMemory.MainOffset) throw (new PspMemory.InvalidAddressException(PC)); uint Index = Address_To_Index(PC); Methods2[Index] = Action; MethodsInList.Add(PC); }
public void SetDynarecFunction(DynarecFunction DynarecFunction) { this._DynarecFunction = DynarecFunction; this.FunctionDelegate = DynarecFunction.Delegate; this.StaticField.Value = DynarecFunction.Delegate; }