Less dumb #if DEBUG for ZX submenu

This commit is contained in:
YoshiRulz 2021-02-25 16:59:46 +10:00
parent fece6cf7c4
commit 0fb9ef77e6
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 4 additions and 5 deletions

View File

@ -339,6 +339,10 @@ namespace BizHawk.Client.EmuHawk
InitializeComponent();
Icon = Properties.Resources.Logo;
SetImages();
#if !DEBUG
ZXSpectrumExportSnapshotMenuItemMenuItem.Enabled = false;
ZXSpectrumExportSnapshotMenuItemMenuItem.Visible = false;
#endif
Game = GameInfo.NullInstance;
_throttle = new Throttle();
@ -1973,11 +1977,6 @@ namespace BizHawk.Client.EmuHawk
break;
case "ZXSpectrum":
zXSpectrumToolStripMenuItem.Visible = true;
#if DEBUG
ZXSpectrumExportSnapshotMenuItemMenuItem.Visible = true;
#else
ZXSpectrumExportSnapshotMenuItemMenuItem.Visible = false;
#endif
break;
case "AmstradCPC":
amstradCPCToolStripMenuItem.Visible = true;