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

VitaTester v1.1.1

Submit here your entries for the Revitalize Competition. Deadline is September 30th.
Rules can be found here: http://wololo.net/revitalize/
SMOKE
Retired Mod
Posts: 3673
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: VitaTester v1.1.1

Post by SMOKE »

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: 912
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: VitaTester v1.1.1

Post by Rinnegatamante »

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
If you want, visit my website: http://rinnegatamante.it :D
SMOKE
Retired Mod
Posts: 3673
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: VitaTester v1.1.1

Post by SMOKE »

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.
minilgos
Posts: 11
Joined: Tue Jun 30, 2015 6:29 am

Re: VitaTester v1.1.1

Post by minilgos »

Thanks a lot for your hard work Smoke!

https://github.com/SMOKE5/VitaTester/releases/tag/v1.2

Touch events and thumbsticks work nicely on my new brand vita 2000 thru henkaku
Homebrews using those can now be ported to henkaku. Sweet!
Locked

Return to “Revitalize Competition”