Post Reply 
 
Thread Rating:
  • 8 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Discussion] 60FPS patches for PSP games that run at 30FPS
08-18-2013, 03:26 AM
Post: #77
RE: 60FPS patches for PSP games that run at 30FPS
Where is My Heart? calls sceDisplayWaitVblankStart(). This is a completely different function.

sceDisplayWaitVblank: wait until inside a vblank. If already inside one, do not wait.
sceDisplayWaitVblankCB: same, but process callbacks while waiting.
sceDisplayWaitVblankStart: wait until the next vblank (even if inside one currently, do wait.)
sceDisplayWaitVblankStartCB: same, but process callbacks while waiting.
sceDisplayWaitVblankStartMulti: ***THIS ONE*** takes an argument, number of vblank starts to wait for.
sceDisplayWaitVblankStartMultiCB: same, but process callbacks while waiting.

Not a ton of games call the Multi ones. But if they do, adjusting the argument can help.

Some games I've seen that are 30 fps just call sceDisplayWaitVblankStart() twice in a row. Or, they set a flag saying whether they're in the initial "real" frame or in the "don't draw anything just do quick cleanup" frame.

Where is My Heart? uses a spin loop plus a global variable flag to determine FPS (which is the dumb way, tbh, unfortunately.)

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 60FPS patches for PSP games that run at 30FPS - [Unknown] - 08-18-2013 03:26 AM
Crash Of The Titans CW ULUS10304 - Mateus - 12-13-2021, 10:59 PM
IRON MEN ULUS10347 - Mateus - 12-18-2021, 12:18 AM

Forum Jump: