Original Post
So I am making this DirectDraw game (clone of old "Moonstone").
It is laregly built upon the "WinX gameconsole" which is used by André LaMothé in "Gameprogramming for dummies". This is because I don''t have time to learn all the windows stuff right now...
Anyway...in the beginning I had a locked framerate at ~33 fps, since I did not allow the gameloop to continue until 30 ms had passed. But since I thought this was a really stupid thing to do, I remade it so that the loop is free from "waiting" and just continues as fast as it can.
Pseudocode:
BEGIN mainloop
CALC current framerate
GET input
DO all the gamestuff
DRAW
WAIT FOR VSYNC
FLIP (backbuffer)
END LOOP
The strange thing is that I only get a framerate of ~43 fps. My computer is a p3-866, 256 Mb RAM and a GeForce256 DDR.
I have tried both compiling in release and debug, and it is the same.
It seems kind of low to me... any suggestions on what might be wrong? It''s no great problem really, the game looks ok in the current framerate, but it bothers me...I hate not to know what is going on.