Disable menu LCD filter unless playing GB or GBA.
Since they share the filter function, but can change one from another (setting on the GBA would apply to GB and vice-versa), we allow only the proper setting to be toggled while a ROM is loaded. If GB ROM, then `Options` > `Game Boy` > `LCD Filter` is enabled. Likewise for GBA. If neither, then no option is enabled.
This commit is contained in:
parent
060010699d
commit
166cf446f7
|
@ -2883,7 +2883,7 @@ EVT_HANDLER(AGBPrinter, "Enable AGB printer")
|
|||
update_opts();
|
||||
}
|
||||
|
||||
EVT_HANDLER(GBALcdFilter, "Enable LCD filter")
|
||||
EVT_HANDLER_MASK(GBALcdFilter, "Enable LCD filter", CMDEN_GBA)
|
||||
{
|
||||
bool menuPress;
|
||||
GetMenuOptionBool("GBALcdFilter", menuPress);
|
||||
|
@ -2893,7 +2893,7 @@ EVT_HANDLER(GBALcdFilter, "Enable LCD filter")
|
|||
update_opts();
|
||||
}
|
||||
|
||||
EVT_HANDLER(GBLcdFilter, "Enable LCD filter")
|
||||
EVT_HANDLER_MASK(GBLcdFilter, "Enable LCD filter", CMDEN_GB)
|
||||
{
|
||||
bool menuPress;
|
||||
GetMenuOptionBool("GBLcdFilter", menuPress);
|
||||
|
|
Loading…
Reference in New Issue