Freeze after getting time 2x
-
- Posts: 88
- Joined: Fri Aug 24, 2007 8:23 pm
Freeze after getting time 2x
Got a problem.
I want to make a timer, so at the begin of a function i get the current minutes, and i copy it in a string.
Then at the end of the function, i get the minutes and copy them in a string, but then it freezes. .
Can anyone help ?
Code to get time :
pspTime time;
sceRtcGetCurrentClockLocalTime(&time);
sprintf(StartMin, "%d", time.minutes);
. . . (function)
the same code as above but i print it in EndMin and without 'pspTime time;'
I want to make a timer, so at the begin of a function i get the current minutes, and i copy it in a string.
Then at the end of the function, i get the minutes and copy them in a string, but then it freezes. .
Can anyone help ?
Code to get time :
pspTime time;
sceRtcGetCurrentClockLocalTime(&time);
sprintf(StartMin, "%d", time.minutes);
. . . (function)
the same code as above but i print it in EndMin and without 'pspTime time;'
-
- Posts: 409
- Joined: Tue Oct 09, 2007 4:22 am
-
- Posts: 88
- Joined: Fri Aug 24, 2007 8:23 pm
-
- Posts: 409
- Joined: Tue Oct 09, 2007 4:22 am
-
- Posts: 88
- Joined: Fri Aug 24, 2007 8:23 pm
-
- Posts: 409
- Joined: Tue Oct 09, 2007 4:22 am
-
- Posts: 88
- Joined: Fri Aug 24, 2007 8:23 pm
-
- Posts: 88
- Joined: Fri Aug 24, 2007 8:23 pm
-
- Posts: 88
- Joined: Fri Aug 24, 2007 8:23 pm