Hi everyone. Now that the graphics routines are working (largely because of the help I've recieved from generous people on this board, thanks!) I've stepped on another problem. My framerates are all over the place (on real GP32s) usually at 45-50, but shooting up to 95-100 at some spots on the map. I tried this code at the start of my game engine loop:
gp_clearRTC();
and then before swapping double buffers
while(gp_getRTC() < 2);
but it hasn't changed a thing. I searched on the forum and generally on the internet, but came up with nothing helpful. Has anyone written or know of how to get a stable constant framerate of either 30 or 40fps? Thanks.
-TheMrCul
gp_clearRTC();
and then before swapping double buffers
while(gp_getRTC() < 2);
but it hasn't changed a thing. I searched on the forum and generally on the internet, but came up with nothing helpful. Has anyone written or know of how to get a stable constant framerate of either 30 or 40fps? Thanks.
-TheMrCul