Support fx-9860G Slim backlight

This commit is contained in:
calamari 2022-09-24 19:49:29 -07:00
parent b23ed9629e
commit a4adc5e1bd

View file

@ -168,8 +168,16 @@ void t6k11_backlight(int setting)
TODO: Document the PFC to remove these addresses */
if(isSH3())
{
port = (void *)0xa400012c;
mask = 0x80;
if (gint[HWCALC] == HWCALC_FX9860G_SLIM)
{
port = (void *)0xa4000126;
mask = 0x20;
}
else
{
port = (void *)0xa400012c;
mask = 0x80;
}
}
else
{