From 1990c4f8c2ad0e8a936b816c5930d332715db160 Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 13 Jul 2017 11:56:26 -0500 Subject: [PATCH] disable Genesis menu when picodrive is the GEN core, since it doesn't currently support anything in the menu --- BizHawk.Client.EmuHawk/MainForm.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index ab5e9d71c0..67a5923951 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -32,6 +32,7 @@ using BizHawk.Client.ApiHawk; using BizHawk.Emulation.Common.Base_Implementations; using BizHawk.Emulation.Cores.Nintendo.SNES9X; using BizHawk.Emulation.Cores.Consoles.SNK; +using BizHawk.Emulation.Cores.Consoles.Sega.PicoDrive; namespace BizHawk.Client.EmuHawk { @@ -1779,7 +1780,11 @@ namespace BizHawk.Client.EmuHawk switch (system) { case "GEN": - GenesisSubMenu.Visible = true; + if (!(Emulator is PicoDrive)) // Currently PicoDrive doesn't support anything in this menu + { + GenesisSubMenu.Visible = true; + } + break; case "TI83": TI83SubMenu.Visible = true;