| View previous topic :: View next topic |
| Author |
Message |
sakya
Joined: 28 Apr 2006 Posts: 190
|
Posted: Tue Jul 10, 2007 9:38 pm Post subject: "problem" with display brightness |
|
|
Hi! :)
I have a little problem with display brightness. :)
Let's say I'm at brightness = 50.
If I change the display brightness with
| Code: | | sceDisplaySetBrightness(25,0); |
The display brightness change, but if I press the brightness key the psp goes to brightness=75, not 50.
The psp acts like I never changed the brightness.
The same thing happen if I let the display turn off for timeout and then press a key: brightness = 50.
So my question is: can I set somewhere the brightness level (not the percentage but the level 1,2,3,4) so that using the brightnmess key acts correctly?
Many thanks. :)
Ciaooo
Sakya |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Tue Jul 10, 2007 11:35 pm Post subject: |
|
|
when you set the brightness yourself you don't set what impose thinks the psp is at but the brightness itself and nothing else.
so when the SCREEN button is pressed it will check aganist his "idea" of brightness and change it accordly.
to fix this you would need to find were it is stored or hook the functions which changes the brightness.
brightness levels are also stored in the registry but i didn't check if they are saved/loaded only when exiting/entering from the current mode (GAME/VSH) |
|
| Back to top |
|
 |
sakya
Joined: 28 Apr 2006 Posts: 190
|
Posted: Thu Jul 12, 2007 12:43 am Post subject: |
|
|
Hi! :)
Many thanks for your reply.
I imagined where the problem was...
Have you any idea of where should I inspect to search for this setting?
Is known where other settings are saved?
Is there some documentation or sample?
Many thanks again :)
Ciaooo
Sakya |
|
| Back to top |
|
 |
weltall
Joined: 20 Feb 2004 Posts: 310
|
Posted: Fri Jul 13, 2007 4:38 am Post subject: |
|
|
| sakya wrote: | Hi! :)
Many thanks for your reply.
I imagined where the problem was...
Have you any idea of where should I inspect to search for this setting?
Is known where other settings are saved?
Is there some documentation or sample?
Many thanks again :)
Ciaooo
Sakya |
well you could try disassembling impose in order to find were it stores his variables. |
|
| Back to top |
|
 |
|