コード例 #1
0
        public MGLDriver(IEmulationInstance emulator, ComponentParameters parameters)
        {
            this.Emu          = emulator;
            this.MemorySystem = this.Emu.Cpu.Memory.MemorySystem;
            _parameters       = parameters;
            _caps             = new MGLCapabilities();
            this.Properties   = new DisplayProperties();

            _statisticsSource = new MGLStatisticsSource(this);
            Diag.Instance.Counters.RegisterSource(_statisticsSource);
        }
コード例 #2
0
ファイル: MGLDriver.cs プロジェクト: BradFuller/pspplayer
        public MGLDriver( IEmulationInstance emulator, ComponentParameters parameters )
        {
            this.Emu = emulator;
            this.MemorySystem = this.Emu.Cpu.Memory.MemorySystem;
            _parameters = parameters;
            _caps = new MGLCapabilities();
            this.Properties = new DisplayProperties();

            _statisticsSource = new MGLStatisticsSource( this );
            Diag.Instance.Counters.RegisterSource( _statisticsSource );
        }