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/
User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: VitaTester v1.1.1

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

User avatar
Rinnegatamante
VIP
Posts: 732
Joined: Sat Mar 26, 2011 10:02 am
Contact:

Re: VitaTester v1.1.1

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
If you want, visit my website: http://rinnegatamante.it :D

User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: VitaTester v1.1.1

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.

minilgos
Posts: 11
Joined: Tue Jun 30, 2015 6:29 am

Re: VitaTester v1.1.1

Post by minilgos » Sat Jul 30, 2016 8:04 pm

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!

Post Reply

Return to “Revitalize Competition”