forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sceKernelPowerTick (preventing screen turn-off and back)

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pailes



Joined: 16 Feb 2007
Posts: 16

PostPosted: Mon Feb 19, 2007 9:48 pm    Post subject: sceKernelPowerTick (preventing screen turn-off and back) Reply with quote

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
View user's profile Send private message Visit poster's website
Saotome



Joined: 03 Apr 2004
Posts: 182

PostPosted: Mon Feb 19, 2007 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
pailes



Joined: 16 Feb 2007
Posts: 16

PostPosted: Tue Feb 20, 2007 6:23 am    Post subject: Reply with quote

Seems to work, thank you :)
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group