yet another post by me! (everytime i fix something, another problem crops up)
For a while now i've noticed the frame-rate counter wasn't accurate, and after adding some debug displays i actually noticed the tick counter is going super speed.
for example, the FPS counter is on a timer.. eg
GpTimerOptSet(0,1,0,FPStimer);
GpTimerSet(0);
however, the FPStimer function is being called about 2.5 times a second
also my frame-rate limiter uses the GpTickCountGet() function, and despite telling it to wait 1000, it only waits about 1/3 of a second.
could it be that the tick counter is linked to the clockspeed? and that they are running too fast due to my application using 99mhz rather than the 60 default
GpClockSpeedChange (99000000, 0x3a002, 1);
the official SDK makes no mention of this, so any advice would be apprechiated.
For a while now i've noticed the frame-rate counter wasn't accurate, and after adding some debug displays i actually noticed the tick counter is going super speed.
for example, the FPS counter is on a timer.. eg
GpTimerOptSet(0,1,0,FPStimer);
GpTimerSet(0);
however, the FPStimer function is being called about 2.5 times a second
also my frame-rate limiter uses the GpTickCountGet() function, and despite telling it to wait 1000, it only waits about 1/3 of a second.
could it be that the tick counter is linked to the clockspeed? and that they are running too fast due to my application using 99mhz rather than the 60 default
GpClockSpeedChange (99000000, 0x3a002, 1);
the official SDK makes no mention of this, so any advice would be apprechiated.