http://silverspring.lan.st/4.05/vsh/module/pafimp.xml
We can clearly see that sceDisplayWaitVblankStart is imported ONLY by paf in VSH.
However, even when I override it, the FPS is still at stable 60 FPS! Can anyone show me some light?
'Blanking' sceDisplayWaitVblankStart Does NOT work in VSH?
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
'Blanking' sceDisplayWaitVblankStart Does NOT work in VSH?
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.
Re: 'Blanking' sceDisplayWaitVblankStart Does NOT work in VS
Try hooking the export instead of the import (if thats what you're doing).KickinAezz wrote:http://silverspring.lan.st/4.05/vsh/module/pafimp.xml
We can clearly see that sceDisplayWaitVblankStart is imported ONLY by paf in VSH.
However, even when I override it, the FPS is still at stable 60 FPS! Can anyone show me some light?
In any case it would only waste CPU cycles and battery life by NOT VSyncing and running at maximum FPS.
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
Re: 'Blanking' sceDisplayWaitVblankStart Does NOT work in VS
LOL! That import sheet shows EXACTLY the Exports (that were imported) ....Torch wrote:Try hooking the export instead of the import (if thats what you're doing).KickinAezz wrote:http://silverspring.lan.st/4.05/vsh/module/pafimp.xml
We can clearly see that sceDisplayWaitVblankStart is imported ONLY by paf in VSH.
However, even when I override it, the FPS is still at stable 60 FPS! Can anyone show me some light?
In any case it would only waste CPU cycles and battery life by NOT VSyncing and running at maximum FPS.
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
Thats exactly how its done... But doesnot seem to be working.Torch wrote:Get the address of the function and patch the code to return immediately, flush the instruction cache?
Though that isn't the totally right way to go about it...
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.
I meant patch the asm code of the original function to return immediately. Theres no function hooking involved at all.KickinAezz wrote:Thats exactly how its done... But doesnot seem to be working.Torch wrote:Get the address of the function and patch the code to return immediately, flush the instruction cache?
Though that isn't the totally right way to go about it...
-
- Posts: 328
- Joined: Sun Jun 03, 2007 10:05 pm
Looks like VSH DoesNOT seem to use any VBlank method to control FPS at a stable 60...Torch wrote:I meant patch the asm code of the original function to return immediately. Theres no function hooking involved at all.KickinAezz wrote:Thats exactly how its done... But doesnot seem to be working.Torch wrote:Get the address of the function and patch the code to return immediately, flush the instruction cache?
Though that isn't the totally right way to go about it...
--
Only VBlankStart is called after the end of the gameboot...
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Use it more for Development than for Gaming.