mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
Support fx-9860G Slim backlight
This commit is contained in:
parent
b23ed9629e
commit
a4adc5e1bd
1 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue