virtualboyee is nyma now, it needs the core active for settings to be changed

This commit is contained in:
CasualPokePlayer 2022-05-31 21:58:17 -07:00 committed by GitHub
parent 253f139731
commit 53b4e8a1bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -3072,7 +3072,10 @@ namespace BizHawk.Client.EmuHawk
items.Add(virtuSubmenu);
// Virtual Boyee
items.Add(CreateCoreSubmenu(VSystemCategory.Consoles, CoreNames.VirtualBoyee, CreateGenericCoreConfigItem<VirtualBoyee>(CoreNames.VirtualBoyee)));
var virtualBoyeeSettingsItem = CreateSettingsItem("Settings...", (_, _) => OpenGenericCoreConfig($"{CoreNames.VirtualBoyee} Settings"));
var virtualBoyeeSubmenu = CreateCoreSubmenu(VSystemCategory.Consoles, CoreNames.VirtualBoyee, virtualBoyeeSettingsItem);
virtualBoyeeSubmenu.DropDownOpened += (_, _) => virtualBoyeeSettingsItem.Enabled = Emulator is VirtualBoyee;
items.Add(virtualBoyeeSubmenu);
// ZXHawk
items.Add(CreateCoreSubmenu(