simplify
This commit is contained in:
parent
9928a88d2c
commit
19095bb7e5
|
@ -3,14 +3,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
|
||||
using BizHawk.Emulation.Common;
|
||||
using BizHawk.Emulation.Cores;
|
||||
using BizHawk.Emulation.Cores.Consoles.Nintendo.QuickNES;
|
||||
using BizHawk.Emulation.Cores.Nintendo.Gameboy;
|
||||
using BizHawk.Emulation.Cores.Nintendo.NES;
|
||||
using BizHawk.Emulation.Cores.Nintendo.SNES9X;
|
||||
using BizHawk.Emulation.Cores.Nintendo.SNES;
|
||||
using BizHawk.Emulation.Cores.Nintendo.GBA;
|
||||
using BizHawk.Emulation.Cores.Nintendo.GBHawk;
|
||||
|
||||
namespace BizHawk.Client.Common
|
||||
{
|
||||
|
|
|
@ -2239,14 +2239,14 @@
|
|||
this.quickNESMenuItem.Name = "quickNESMenuItem";
|
||||
this.quickNESMenuItem.Size = new System.Drawing.Size(118, 22);
|
||||
this.quickNESMenuItem.Text = "&QuickNes";
|
||||
this.quickNESMenuItem.Click += new System.EventHandler(this.QuickNesMenuItem_Click);
|
||||
this.quickNESMenuItem.Click += new System.EventHandler(this.QuickNesCorePick_Click);
|
||||
//
|
||||
// nesHawkToolStripMenuItem
|
||||
//
|
||||
this.nesHawkMenuItem.Name = "nesHawkMenuItem";
|
||||
this.nesHawkMenuItem.Size = new System.Drawing.Size(118, 22);
|
||||
this.nesHawkMenuItem.Text = "&NesHawk";
|
||||
this.nesHawkMenuItem.Click += new System.EventHandler(this.NesHawkMenuItem_Click);
|
||||
this.nesHawkMenuItem.Click += new System.EventHandler(this.NesCorePick_Click);
|
||||
//
|
||||
// toolStripSeparator34
|
||||
//
|
||||
|
|
|
@ -1557,18 +1557,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
#region NES
|
||||
|
||||
private void QuickNesMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Config.PreferredCores["NES"] = CoreNames.QuickNes;
|
||||
FlagNeedsReboot();
|
||||
}
|
||||
|
||||
private void NesHawkMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Config.PreferredCores["NES"] = CoreNames.NesHawk;
|
||||
FlagNeedsReboot();
|
||||
}
|
||||
|
||||
private void NesSubMenu_DropDownOpened(object sender, EventArgs e)
|
||||
{
|
||||
var boardName = Emulator.HasBoardInfo() ? Emulator.AsBoardInfo().BoardName : null;
|
||||
|
|
Loading…
Reference in New Issue