Lighter version of LEDControl?
Posted: Sat Dec 19, 2020 11:19 am
Title basically. So basically I got the sources of LEDControl 4.2 and removed the whole *.ini and toggle-buttons handling... My version would have just turned off led.... So now the code is basically this:
I still do not like this infinite thread with sceKernelDelayThreadCB(1000)... so my thinking was... Could it be possible to turn all led off and patch the real sceSysconCtrlLED on the go to just be a simple nop function?
Code: Select all
int thread_code(SceSize args, void *argp)
while(1) {
sceSysconCtrlLED(0, 0);
sceSysconCtrlLED(1, 0);
sceSysconCtrlLED(2, 0);
sceSysconCtrlLED(3, 0);
sceKernelDelayThreadCB(1000);
}
return 0;
}