remove core specific game genie menu items that now simply load the Cheat converter tool

This commit is contained in:
adelikat 2020-05-03 12:38:12 -05:00
parent 158bff1c08
commit 588eeeca27
4 changed files with 2 additions and 70 deletions

View File

@ -238,7 +238,6 @@
this.toolStripSeparator34 = new System.Windows.Forms.ToolStripSeparator();
this.NESPPUViewerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.NESNametableViewerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.NESGameGenieCodesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.MusicRipperMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator();
this.NesControllerSettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@ -269,7 +268,6 @@
this.SmsSettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SmsMenuSeparator = new System.Windows.Forms.ToolStripSeparator();
this.SmsVdpViewerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.GGGameGenieMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.TI83SubMenu = new System.Windows.Forms.ToolStripMenuItem();
this.KeypadMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.LoadTIFileMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@ -286,7 +284,6 @@
this.LoadGBInSGBMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator28 = new System.Windows.Forms.ToolStripSeparator();
this.GBGPUViewerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.GBGameGenieMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.GBPrinterViewerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.GBASubMenu = new System.Windows.Forms.ToolStripMenuItem();
this.GBAcoresettingsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
@ -302,7 +299,6 @@
this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator();
this.SnesGfxDebuggerMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SnesGBInSGBMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SnesGameGenieMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SnesOptionsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ColecoSubMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ColecoControllerSettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
@ -2177,7 +2173,6 @@
this.toolStripSeparator34,
this.NESPPUViewerMenuItem,
this.NESNametableViewerMenuItem,
this.NESGameGenieCodesMenuItem,
this.MusicRipperMenuItem,
this.toolStripSeparator17,
this.NesControllerSettingsMenuItem,
@ -2245,13 +2240,6 @@
this.NESNametableViewerMenuItem.Text = "&Nametable Viewer";
this.NESNametableViewerMenuItem.Click += new System.EventHandler(this.NesNametableViewerMenuItem_Click);
//
// NESGameGenieCodesMenuItem
//
this.NESGameGenieCodesMenuItem.Name = "NESGameGenieCodesMenuItem";
this.NESGameGenieCodesMenuItem.Size = new System.Drawing.Size(217, 22);
this.NESGameGenieCodesMenuItem.Text = "&Game Genie Encoder/Decoder";
this.NESGameGenieCodesMenuItem.Click += new System.EventHandler(this.NesGameGenieCodesMenuItem_Click);
//
// musicRipperToolStripMenuItem
//
this.MusicRipperMenuItem.Name = "MusicRipperMenuItem";
@ -2447,8 +2435,7 @@
this.SMSSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.SmsSettingsMenuItem,
this.SmsMenuSeparator,
this.SmsVdpViewerMenuItem,
this.GGGameGenieMenuItem});
this.SmsVdpViewerMenuItem});
this.SMSSubMenu.Name = "SMSSubMenu";
this.SMSSubMenu.Size = new System.Drawing.Size(39, 17);
this.SMSSubMenu.Text = "&SMS";
@ -2473,13 +2460,6 @@
this.SmsVdpViewerMenuItem.Text = "&VDP Viewer";
this.SmsVdpViewerMenuItem.Click += new System.EventHandler(this.SmsVdpViewerMenuItem_Click);
//
// GGGameGenieMenuItem
//
this.GGGameGenieMenuItem.Name = "GGGameGenieMenuItem";
this.GGGameGenieMenuItem.Size = new System.Drawing.Size(262, 22);
this.GGGameGenieMenuItem.Text = "&Game Genie Encoder/Decoder";
this.GGGameGenieMenuItem.Click += new System.EventHandler(this.GgGameGenieMenuItem_Click);
//
// TI83SubMenu
//
this.TI83SubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -2574,7 +2554,6 @@
this.LoadGBInSGBMenuItem,
this.toolStripSeparator28,
this.GBGPUViewerMenuItem,
this.GBGameGenieMenuItem,
this.GBPrinterViewerMenuItem});
this.GBSubMenu.Name = "GBSubMenu";
this.GBSubMenu.Size = new System.Drawing.Size(32, 17);
@ -2607,13 +2586,6 @@
this.GBGPUViewerMenuItem.Text = "GPU Viewer";
this.GBGPUViewerMenuItem.Click += new System.EventHandler(this.GbGpuViewerMenuItem_Click);
//
// GBGameGenieMenuItem
//
this.GBGameGenieMenuItem.Name = "GBGameGenieMenuItem";
this.GBGameGenieMenuItem.Size = new System.Drawing.Size(217, 22);
this.GBGameGenieMenuItem.Text = "&Game Genie Encoder/Decoder";
this.GBGameGenieMenuItem.Click += new System.EventHandler(this.GbGameGenieMenuItem_Click);
//
// GBPrinterViewerMenuItem
//
this.GBPrinterViewerMenuItem.Name = "GBPrinterViewerMenuItem";
@ -2698,7 +2670,6 @@
this.toolStripSeparator18,
this.SnesGfxDebuggerMenuItem,
this.SnesGBInSGBMenuItem,
this.SnesGameGenieMenuItem,
this.SnesOptionsMenuItem});
this.SNESSubMenu.Name = "SNESSubMenu";
this.SNESSubMenu.Size = new System.Drawing.Size(44, 17);
@ -2731,13 +2702,6 @@
this.SnesGBInSGBMenuItem.Text = "Load GB in SGB";
this.SnesGBInSGBMenuItem.Click += new System.EventHandler(this.SnesGbInSgbMenuItem_Click);
//
// SnesGameGenieMenuItem
//
this.SnesGameGenieMenuItem.Name = "SnesGameGenieMenuItem";
this.SnesGameGenieMenuItem.Size = new System.Drawing.Size(217, 22);
this.SnesGameGenieMenuItem.Text = "&Game Genie Encoder/Decoder";
this.SnesGameGenieMenuItem.Click += new System.EventHandler(this.SnesGameGenieMenuItem_Click);
//
// SnesOptionsMenuItem
//
this.SnesOptionsMenuItem.Name = "SnesOptionsMenuItem";
@ -4101,7 +4065,6 @@
private System.Windows.Forms.ToolStripMenuItem LoadConfigMenuItem;
private System.Windows.Forms.ToolStripMenuItem NESSubMenu;
private System.Windows.Forms.ToolStripMenuItem NESPPUViewerMenuItem;
private System.Windows.Forms.ToolStripMenuItem NESGameGenieCodesMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator11;
private System.Windows.Forms.ToolStripMenuItem CheatsMenuItem;
private System.Windows.Forms.ToolStripMenuItem NESNametableViewerMenuItem;
@ -4228,9 +4191,6 @@
private System.Windows.Forms.ToolStripMenuItem FullMovieLoadstatesMenuItem;
private System.Windows.Forms.ToolStripMenuItem StopNoSaveContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem StopMovieWithoutSavingMenuItem;
private System.Windows.Forms.ToolStripMenuItem SnesGameGenieMenuItem;
private System.Windows.Forms.ToolStripMenuItem GBGameGenieMenuItem;
private System.Windows.Forms.ToolStripMenuItem GGGameGenieMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator29;
private System.Windows.Forms.ToolStripMenuItem N64SubMenu;
private System.Windows.Forms.ToolStripMenuItem N64PluginSettingsMenuItem;

View File

@ -1596,11 +1596,6 @@ namespace BizHawk.Client.EmuHawk
Tools.Load<NESMusicRipper>();
}
private void NesGameGenieCodesMenuItem_Click(object sender, EventArgs e)
{
Tools.LoadGameGenieEc();
}
private void NesGraphicSettingsMenuItem_Click(object sender, EventArgs e)
{
if (Emulator is NES nes)
@ -1816,11 +1811,6 @@ namespace BizHawk.Client.EmuHawk
GenericCoreConfig.DoDialog(this, "SMS Settings");
}
private void GgGameGenieMenuItem_Click(object sender, EventArgs e)
{
Tools.LoadGameGenieEc();
}
private void SmsVdpViewerMenuItem_Click(object sender, EventArgs e)
{
Tools.Load<SmsVdpViewer>();
@ -1959,11 +1949,6 @@ namespace BizHawk.Client.EmuHawk
Tools.Load<GbGpuView>();
}
private void GbGameGenieMenuItem_Click(object sender, EventArgs e)
{
Tools.LoadGameGenieEc();
}
private void GbPrinterViewerMenuItem_Click(object sender, EventArgs e)
{
Tools.Load<GBPrinterView>();
@ -2095,11 +2080,6 @@ namespace BizHawk.Client.EmuHawk
FlagNeedsReboot();
}
private void SnesGameGenieMenuItem_Click(object sender, EventArgs e)
{
Tools.LoadGameGenieEc();
}
private void SnesOptionsMenuItem_Click(object sender, EventArgs e)
{
if (Emulator is LibsnesCore bsnes)

View File

@ -517,7 +517,7 @@ namespace BizHawk.Client.EmuHawk
private void OpenGameGenieEncoderDecoderMenuItem_Click(object sender, EventArgs e)
{
Tools.LoadGameGenieEc();
Tools.Load<GameShark>();
}
#endregion

View File

@ -818,14 +818,6 @@ namespace BizHawk.Client.EmuHawk
}
}
public void LoadGameGenieEc()
{
if (IsAvailable<GameShark>())
{
Load<GameShark>();
}
}
#endregion
public string GenerateDefaultCheatFilename()