A Function to get the time using pspsdk ??

support for the PSP toolchain
Post Reply
virus7
Posts: 12
Joined: Fri Aug 19, 2011 8:17 am

A Function to get the time using pspsdk ??

Post by virus7 » Thu Jul 19, 2012 10:17 pm

hey geeks ... ^_^

I was looking in the documentation of pspsdk for a function that start counting the time once the sdk initialize just like in SDL -> SDL_getTime();

Till now I didn't found any ... is there any idea how to handle timer with pspsdk .. cuz it really run fast ! and I need to slow it down ^_^

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: A Function to get the time using pspsdk ??

Post by codycox.c » Sun Jul 22, 2012 5:37 am

Looks like you need a function to wait for vblank not a timer. I will look later for the function.

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: A Function to get the time using pspsdk ??

Post by codycox.c » Mon Jul 23, 2012 2:42 am

Try using sceDisplayWaitVblankStart(). It will wait for vblank to start so putting that in your loop will keep it from running too fast.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests