Restore system menu behaviour re: SGB

fixes 81fe56fa6
This commit is contained in:
YoshiRulz 2022-12-20 16:57:04 +10:00
parent 81fe56fa6e
commit a54c94230f
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 6 additions and 1 deletions

View File

@ -2067,8 +2067,13 @@ namespace BizHawk.Client.EmuHawk
GBSubMenu.Visible = true;
SameBoyColorChooserMenuItem.Visible = Emulator is Sameboy sameboy && !sameboy.IsCGBMode(); // palette config only works in DMG mode
break;
case VSystemID.Raw.SGB when Emulator is BsnesCore or SubBsnesCore:
case VSystemID.Raw.SNES when Emulator is LibsnesCore { IsSGB: true }: // doesn't use "SGB" sysID
SNESSubMenu.Text = "&SGB";
SNESSubMenu.Visible = true;
break;
case VSystemID.Raw.SNES when Emulator is LibsnesCore or BsnesCore or SubBsnesCore:
case VSystemID.Raw.SGB when Emulator is BsnesCore or SubBsnesCore:
SNESSubMenu.Text = "&SNES";
SNESSubMenu.Visible = true;
break;
default: