Advertising (This ad goes away for registered users. You can Login or Register)

Lighter version of LEDControl?

Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Post Reply
Vento
Posts: 4
Joined: Sat Jan 07, 2012 12:18 pm

Lighter version of LEDControl?

Post by Vento »

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:

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;
}
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?
Advertising
Post Reply

Return to “Programming and Security”