Advertising (This ad goes away for registered users. You can Login or Register)
-
SMOKE
- Retired Mod
- Posts: 3673
- Joined: Tue Apr 17, 2012 10:00 pm
- Location: USA
-
Contact:
Post
by SMOKE » Fri Nov 06, 2015 1:37 am
Camxpspx123 wrote:Please can you explain me what does theses functions do ?
Code: Select all
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_AUTO_SUSPEND);
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_OLED_OFF);
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_OLED_DIMMING);
It disables auto shutdown and dimming of the homebrew process. It needs to be called every now and then because it seems to reset itself after some time. I just stuck it in the loop and it works fine
Advertising
-
Rinnegatamante
- VIP
- Posts: 840
- Joined: Sat Mar 26, 2011 10:02 am
-
Contact:
Post
by Rinnegatamante » Fri Nov 06, 2015 2:34 pm
SMOKE wrote:Camxpspx123 wrote:Please can you explain me what does theses functions do ?
Code: Select all
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_AUTO_SUSPEND);
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_OLED_OFF);
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_OLED_DIMMING);
It disables auto shutdown and dimming of the homebrew process. It needs to be called every now and then because it seems to reset itself after some time. I just stuck it in the loop and it works fine
You can just use a sceKernelPowerTick(0) which does everything in a single call (
https://github.com/Rinnegatamante/vitaQ ... #L371-L372 ).
Advertising
-
SMOKE
- Retired Mod
- Posts: 3673
- Joined: Tue Apr 17, 2012 10:00 pm
- Location: USA
-
Contact:
Post
by SMOKE » Fri Nov 06, 2015 8:35 pm
Rinnegatamante wrote:SMOKE wrote:Camxpspx123 wrote:Please can you explain me what does theses functions do ?
Code: Select all
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_AUTO_SUSPEND);
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_OLED_OFF);
sceKernelPowerTick(SCE_KERNEL_POWER_TICK_DISABLE_OLED_DIMMING);
It disables auto shutdown and dimming of the homebrew process. It needs to be called every now and then because it seems to reset itself after some time. I just stuck it in the loop and it works fine
You can just use a sceKernelPowerTick(0) which does everything in a single call (
https://github.com/Rinnegatamante/vitaQ ... #L371-L372 ).
I had tryed that before. This is the only way I could get it to work for me. When I used sceKernelPowerTick(0); It only delayed the dimming and suspension for some time.