path config - lock down some unreleased cores in release builds

This commit is contained in:
adelikat 2020-01-12 11:08:46 -06:00
parent 8ccbe94a38
commit a03ed17c8a
1 changed files with 3 additions and 3 deletions

View File

@ -23,12 +23,12 @@ namespace BizHawk.Client.EmuHawk
return; return;
} }
string[] coresToHide = { }; string[] coresToHide = { "VEC", "GB4x", "O2", "ChannelF", "AmstradCPC" };
foreach (var core in coresToHide) foreach (var core in coresToHide)
{ {
PathTabControl.TabPages.Remove( var tabPage = PathTabControl.TabPages().First(tp => tp.Name == core);
PathTabControl.TabPages().FirstOrDefault(tp => tp.Name == core) ?? new TabPage()); PathTabControl.TabPages.Remove(tabPage);
} }
} }