| View previous topic :: View next topic |
| Author |
Message |
pailes

Joined: 16 Feb 2007 Posts: 16
|
Posted: Mon Feb 19, 2007 9:48 pm Post subject: sceKernelPowerTick (preventing screen turn-off and back) |
|
|
Hi there,
I wanted to have an option in my program, which prevents the screen from turning off. I've found sceKernelPowerTick() should do the trick, but as the parameter is undocumented, I've been wondering how to re-enable the turn-off?
Any help is appreciated. |
|
| Back to top |
|
 |
Saotome

Joined: 03 Apr 2004 Posts: 182
|
Posted: Mon Feb 19, 2007 10:51 pm Post subject: |
|
|
IIRC the parameter should always be 0. If you want to "re-enable" the turning-off then just stop calling the powerTick (you have to call it periodicaly to stop turning-off). _________________ infj |
|
| Back to top |
|
 |
pailes

Joined: 16 Feb 2007 Posts: 16
|
Posted: Tue Feb 20, 2007 6:23 am Post subject: |
|
|
| Seems to work, thank you :) |
|
| Back to top |
|
 |
|