Only show the jabo plugin option in developer builds

This commit is contained in:
adelikat 2014-07-21 19:37:20 +00:00
parent 2190b15099
commit 861a9a3776
2 changed files with 22 additions and 5 deletions

View File

@ -335,6 +335,11 @@ namespace BizHawk.Client.EmuHawk
private void N64VideoPluginconfig_Load(object sender, EventArgs e)
{
if (!VersionInfo.DeveloperBuild)
{
PluginComboBox.Items.Remove("Jabo 1.6.1");
}
s = GetSettings();
ss = GetSyncSettings();
@ -354,10 +359,22 @@ namespace BizHawk.Client.EmuHawk
}
switch (ss.VideoPlugin)
{
case PluginType.GlideMk2: PluginComboBox.Text = "Glide64mk2"; break;
case PluginType.Glide: PluginComboBox.Text = "Glide64"; break;
case PluginType.Rice: PluginComboBox.Text = "Rice"; break;
case PluginType.Jabo: PluginComboBox.Text = "Jabo 1.6.1"; break;
case PluginType.GlideMk2:
PluginComboBox.Text = "Glide64mk2";
break;
case PluginType.Glide:
PluginComboBox.Text = "Glide64";
break;
case PluginType.Rice:
PluginComboBox.Text = "Rice";
break;
case PluginType.Jabo:
if (VersionInfo.DeveloperBuild)
{
PluginComboBox.Text = "Jabo 1.6.1";
}
break;
}
//Rice

View File

@ -2,7 +2,7 @@ static class VersionInfo
{
public const string MAINVERSION = "1.7.0";
public static string RELEASEDATE = "Unoffical BETA of unknown origin!";
public static bool DeveloperBuild = true;
public static bool DeveloperBuild = false;
public static string GetEmuVersion()
{