Exemplo n.º 1
0
 public override void InitializeComponent()
 {
     this.Callbacks          = new HleUidPool <HleCallback>();
     this.ScheduledCallbacks = new Queue <HleCallback>();
     this.CpuProcessor       = PspEmulatorContext.GetInstance <CpuProcessor>();
     this.HleInterop         = PspEmulatorContext.GetInstance <HleInterop>();
 }
Exemplo n.º 2
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
             );
     }
 }
Exemplo n.º 3
0
 public override void InitializeComponent()
 {
     this.Callbacks = new HleUidPool<HleCallback>();
     this.ScheduledCallbacks = new Queue<HleCallback>();
     this.CpuProcessor = PspEmulatorContext.GetInstance<CpuProcessor>();
     this.HleInterop = PspEmulatorContext.GetInstance<HleInterop>();
 }
Exemplo 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
         );
     }
 }