Inheritance: IInterruptManager
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
			}
		}
Exemplo n.º 3
0
 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);
     }
 }
Exemplo n.º 4
0
 public override void InitializeComponent()
 {
     this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>();
 }
Exemplo n.º 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;
        }
Exemplo n.º 6
0
 public override void InitializeComponent()
 {
     this.Processor           = PspEmulatorContext.GetInstance <CpuProcessor>();
     this.HleCallbackManager  = PspEmulatorContext.GetInstance <HleCallbackManager>();
     this.HleInterruptManager = PspEmulatorContext.GetInstance <HleInterruptManager>();
 }
Exemplo n.º 7
0
 public override void InitializeComponent()
 {
     this.Processor = PspEmulatorContext.GetInstance<CpuProcessor>();
     this.HleCallbackManager = PspEmulatorContext.GetInstance<HleCallbackManager>();
     this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>();
 }