public Machine() { Config.Machine = new ExpandoObject(); Config.UI = new ExpandoObject(); Config.Machine.SystemBootMode = (Int32)BootMode.HLE_IPL; m_N64PhysicalMemory = new N64Memory(); Current = this; DeviceRCP = new RcpProcessor(); DeviceCPU = new CPUProcessor(); DevicePIF = new PIFModule(); MupenHelper.SetMipsCore(DeviceCPU); m_CurrentEngine = new SimpleEngine(); m_CurrentEngine.EngineStatusChanged += m_CurrentEngine_EngineStatusChanged; }
public AboutBox() { try { InitializeComponent(); this.Text = String.Format("About {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); this.labelCopyright.Text = AssemblyCopyright; this.labelCompanyName.Text = AssemblyCompany; EmulatorEngine testEngine = new EmulatorEngine("test", string.Empty, 554); this.labelLibVersion.Text = "VLC Library Version: " + testEngine.GetVlcLibraryVersion(); testEngine.Dispose(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }