From abff21a450646fd2081a8e41cf0f3d7707faf9e3 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 7 Jun 2014 00:57:54 +0000 Subject: [PATCH] SNES - hide accuracy core option except in developer builds --- BizHawk.Client.EmuHawk/config/SNES/SNESOptions.Designer.cs | 1 + BizHawk.Client.EmuHawk/config/SNES/SNESOptions.cs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.Designer.cs b/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.Designer.cs index 44c47ea804..a37dc8f6ef 100644 --- a/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.Designer.cs +++ b/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.Designer.cs @@ -170,6 +170,7 @@ this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "SNES Options"; + this.Load += new System.EventHandler(this.SNESOptions_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); diff --git a/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.cs b/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.cs index 1c18ae1958..131ed23a16 100644 --- a/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.cs +++ b/BizHawk.Client.EmuHawk/config/SNES/SNESOptions.cs @@ -101,5 +101,10 @@ namespace BizHawk.Client.EmuHawk UserDoubleSizeOption = cbDoubleSize.Checked; } + private void SNESOptions_Load(object sender, EventArgs e) + { + rbAccuracy.Visible = VersionInfo.DeveloperBuild; + } + } }