I've used the clock() function from <time.h> and everything seems to run around 1000 times faster. It seems there is 1,000,000 clock ticks per second. But I checked the define _CLOCKS_PER_SEC_ and it is 1,000. Am I calculating the clock ticks wrong?
A smaller problem I'm having is that fopen() seem to always return null despite the existence of the file. Anyone have any ideas?
_CLOCKS_PER_SEC_ problem
Re: _CLOCKS_PER_SEC_ problem
Have you tried using the SCE functions? Here is a link to the IO functions: http://pspdev.ofcode.com/api.php?type=2&id=85cooleyandy wrote:A smaller problem I'm having is that fopen() seem to always return null despite the existence of the file. Anyone have any ideas?
Lego of my Ago!
-
- Posts: 41
- Joined: Sat Jul 02, 2005 10:12 am