mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-01-01 06:23:35 +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 */
|
TODO: Document the PFC to remove these addresses */
|
||||||
if(isSH3())
|
if(isSH3())
|
||||||
{
|
{
|
||||||
port = (void *)0xa400012c;
|
if (gint[HWCALC] == HWCALC_FX9860G_SLIM)
|
||||||
mask = 0x80;
|
{
|
||||||
|
port = (void *)0xa4000126;
|
||||||
|
mask = 0x20;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
port = (void *)0xa400012c;
|
||||||
|
mask = 0x80;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue