internal HleInterruptHandler(HleInterruptManager HleInterruptManager, PspInterrupts PspInterrupt, HleCallbackManager HleCallbackManager) { this.HleInterruptManager = HleInterruptManager; this.PspInterrupt = PspInterrupt; this.HleCallbackManager = HleCallbackManager; this.SubinterruptHandlers = new HleSubinterruptHandler[16]; for (int Index = 0; Index < this.SubinterruptHandlers.Length; Index++) { this.SubinterruptHandlers[Index] = new HleSubinterruptHandler(Index); } }
internal HleInterruptHandler(HleInterruptManager hleInterruptManager, PspInterrupts pspInterrupt, HleCallbackManager hleCallbackManager) { _hleInterruptManager = hleInterruptManager; PspInterrupt = pspInterrupt; _hleCallbackManager = hleCallbackManager; SubinterruptHandlers = new HleSubinterruptHandler[16]; for (int index = 0; index < SubinterruptHandlers.Length; index++) { SubinterruptHandlers[index] = new HleSubinterruptHandler(index); } }
public override void InitializeComponent() { this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>(); }
public HleThread(PspEmulatorContext PspEmulatorContext, CpuThreadState CpuThreadState) { this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>(); this.HleThreadManager = PspEmulatorContext.GetInstance<HleThreadManager>(); this.MethodCache = CpuThreadState.CpuProcessor.MethodCache; this.PspConfig = CpuThreadState.CpuProcessor.PspConfig; if (this.PspConfig.UseCoRoutines) { this.Coroutine = HleThreadManager.Processor.CoroutinePool.CreateCoroutine(this.Name, MainLoop); } else { this.GreenThread = new GreenThread(); GreenThread.InitAndStartStopped(MainLoop); } this.CpuThreadState = CpuThreadState; }
public override void InitializeComponent() { this.Processor = PspEmulatorContext.GetInstance <CpuProcessor>(); this.HleCallbackManager = PspEmulatorContext.GetInstance <HleCallbackManager>(); this.HleInterruptManager = PspEmulatorContext.GetInstance <HleInterruptManager>(); }
public override void InitializeComponent() { this.Processor = PspEmulatorContext.GetInstance<CpuProcessor>(); this.HleCallbackManager = PspEmulatorContext.GetInstance<HleCallbackManager>(); this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>(); }