I am writing a program that needs to keep the screen always turned on, but in a few seconds, if you don't press any button, psp's power management turns the brightness low and finally it turns the whole screen off.
I need to prevent psp doing this so i was thinking about something like:
Code: Select all
sceDisplayEnable();
sceDisplaySetBrightness(100, 0);
sceKernelDelayThread(400000);
The problem is (i think), that i can only do these calls from a user-level thread, and as far I know, sceDisplayEnable & SetBrightness functions can only be called from a kernel-level thread...
Any idea?
Thanks for reading ;-)