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