X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ftinyfps.c;h=d7d1f80a0730b775c0a86f02ffdebbe6dafd7962;hb=7cffbf057545fb303ad8f53e432ef42f7708e16d;hp=78447486eb7741c7a665133f9dda044ce7a7bd61;hpb=8024ae981f39d370af5cceb3cb97f62820b0a120;p=dosdemo diff --git a/src/tinyfps.c b/src/tinyfps.c index 7844748..d7d1f80 100644 --- a/src/tinyfps.c +++ b/src/tinyfps.c @@ -4,9 +4,10 @@ #include "tinyfps.h" #include "demo.h" -// TinyFPS, just a minimal fraps like font to show FPS during the demo and not just after. -// I'll be using it in my effects for my performance test purposes, just adding it here. -// Maybe it would be nice if initFpsFonts would be called in demo.c once but I avoided touching that code. +/* TinyFPS, just a minimal fraps like font to show FPS during the demo and not just after. + * I'll be using it in my effects for my performance test purposes, just adding it here. + * Maybe it would be nice if initFpsFonts would be called in demo.c once but I avoided touching that code. + */ /* 1110 0010 1110 1110 1010 1110 1110 1110 1110 1110 @@ -123,5 +124,7 @@ void drawFps(unsigned short *vram) startingFpsTime = time_msec; nFrames = 0; } - drawDecimal(fps, 4, 4, 2, vram); + /*drawDecimal(fps, 4, 4, 2, vram);*/ + /* Moving this on the lower left side of screen for now, since the lack of double buffering generates flickering for this atm */ + drawDecimal(fps, 4, fb_height - 12, 2, vram); }