Inheritance: CSPspEmu.Core.PspEmulatorComponent
Ejemplo 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);
     }
 }
Ejemplo 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);
			}
		}
Ejemplo 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);
     }
 }
Ejemplo n.º 4
0
 public override void InitializeComponent()
 {
     this.HleCallbackManager = PspEmulatorContext.GetInstance <HleCallbackManager>();
     this.CpuProcessor       = PspEmulatorContext.GetInstance <CpuProcessor>();
     this.HleInterop         = PspEmulatorContext.GetInstance <HleInterop>();
     //uint MaxHandlers = Enum.GetValues(typeof(PspInterrupts)).OfType<uint>().Max() + 1;
     InterruptHandlers = new HleInterruptHandler[(int)PspInterrupts._MAX];
     for (int n = 0; n < InterruptHandlers.Length; n++)
     {
         InterruptHandlers[n] = new HleInterruptHandler(
             this,
             (PspInterrupts)n,
             HleCallbackManager
             );
     }
 }
Ejemplo n.º 5
0
 public override void InitializeComponent()
 {
     this.Processor           = PspEmulatorContext.GetInstance <CpuProcessor>();
     this.HleCallbackManager  = PspEmulatorContext.GetInstance <HleCallbackManager>();
     this.HleInterruptManager = PspEmulatorContext.GetInstance <HleInterruptManager>();
 }
Ejemplo n.º 6
0
 public override void InitializeComponent()
 {
     this.Processor = PspEmulatorContext.GetInstance<CpuProcessor>();
     this.HleCallbackManager = PspEmulatorContext.GetInstance<HleCallbackManager>();
     this.HleInterruptManager = PspEmulatorContext.GetInstance<HleInterruptManager>();
 }
Ejemplo n.º 7
0
 public override void InitializeComponent()
 {
     this.HleCallbackManager = PspEmulatorContext.GetInstance<HleCallbackManager>();
     this.CpuProcessor = PspEmulatorContext.GetInstance<CpuProcessor>();
     this.HleInterop = PspEmulatorContext.GetInstance<HleInterop>();
     //uint MaxHandlers = Enum.GetValues(typeof(PspInterrupts)).OfType<uint>().Max() + 1;
     InterruptHandlers = new HleInterruptHandler[(int)PspInterrupts._MAX];
     for (int n = 0; n < InterruptHandlers.Length; n++)
     {
         InterruptHandlers[n] = new HleInterruptHandler(
             this,
             (PspInterrupts)n,
             HleCallbackManager
         );
     }
 }