Inheritance: IInterruptManager
示例#1
0
 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);
     }
 }
示例#2
0
		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>();
 }
示例#5
0
        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;
        }
示例#6
0
 public override void InitializeComponent()
 {
     this.Processor           = PspEmulatorContext.GetInstance <CpuProcessor>();
     this.HleCallbackManager  = PspEmulatorContext.GetInstance <HleCallbackManager>();
     this.HleInterruptManager = PspEmulatorContext.GetInstance <HleInterruptManager>();
 }
示例#7
0
 public override void InitializeComponent()
 {
     this.Processor = PspEmulatorContext.GetInstance<CpuProcessor>();
     this.HleCallbackManager = PspEmulatorContext.GetInstance<HleCallbackManager>();
     this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>();
 }