| View previous topic :: View next topic |
| Author |
Message |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Tue Sep 23, 2008 8:46 am Post subject: 'Blanking' sceDisplayWaitVblankStart Does NOT work in VSH? |
|
|
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? _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Wed Sep 24, 2008 11:42 pm Post subject: Re: 'Blanking' sceDisplayWaitVblankStart Does NOT work in VS |
|
|
| 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? |
Try hooking the export instead of the import (if thats what you're doing).
In any case it would only waste CPU cycles and battery life by NOT VSyncing and running at maximum FPS. |
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Thu Sep 25, 2008 7:14 am Post subject: Re: 'Blanking' sceDisplayWaitVblankStart Does NOT work in VS |
|
|
| Torch wrote: | | 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? |
Try hooking the export instead of the import (if thats what you're doing).
In any case it would only waste CPU cycles and battery life by NOT VSyncing and running at maximum FPS. |
LOL! That import sheet shows EXACTLY the Exports (that were imported) .... _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Thu Sep 25, 2008 11:55 am Post subject: |
|
|
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... |
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Fri Sep 26, 2008 3:02 am Post subject: |
|
|
| 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... | Thats exactly how its done... But doesnot seem to be working. _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Fri Sep 26, 2008 5:40 pm Post subject: |
|
|
| KickinAezz wrote: | | 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... | Thats exactly how its done... But doesnot seem to be working. |
I meant patch the asm code of the original function to return immediately. Theres no function hooking involved at all. |
|
| Back to top |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Sun Sep 28, 2008 9:41 pm Post subject: |
|
|
| Torch wrote: | | KickinAezz wrote: | | 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... | Thats exactly how its done... But doesnot seem to be working. |
I meant patch the asm code of the original function to return immediately. Theres no function hooking involved at all. |
Looks like VSH DoesNOT seem to use any VBlank method to control FPS at a stable 60...
--
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. |
|
| Back to top |
|
 |
|