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); }
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 ); }