sceKernelPowerTick (preventing screen turn-off and back)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
pailes
Posts: 16
Joined: Fri Feb 16, 2007 4:31 am
Contact:

sceKernelPowerTick (preventing screen turn-off and back)

Post by pailes »

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.
User avatar
Saotome
Posts: 182
Joined: Sat Apr 03, 2004 3:45 am

Post by Saotome »

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
User avatar
pailes
Posts: 16
Joined: Fri Feb 16, 2007 4:31 am
Contact:

Post by pailes »

Seems to work, thank you :)
Post Reply