public HLEModuleFunction(string moduleName, string functionName, int nid, HLEModule hleModule, Method hleModuleMethod, bool checkInsideInterrupt, bool checkDispatchThreadEnabled, int stackUsage, int firmwareVersion) { this.moduleName = moduleName; this.functionName = functionName; this.nid = nid; this.checkInsideInterrupt_Renamed = checkInsideInterrupt; this.checkDispatchThreadEnabled_Renamed = checkDispatchThreadEnabled; this.stackUsage = stackUsage; this.hleModuleMethod = hleModuleMethod; this.hleModule = hleModule; this.firmwareVersion = firmwareVersion; }
public PrxSyscallPatchInfo(string fileName, HLEModule hleModule, string functionName, int offset, int oldValue1, int oldValue2) : base(fileName, offset, oldValue1, JR(), 8) { this.functionName = functionName; patchInfo2 = new PrxPatchInfo(fileName, offset + 4, oldValue2, SYSCALL(hleModule, functionName)); }