From 368b385ccfcc295e229fb65e9cfb1ba72b910fc2 Mon Sep 17 00:00:00 2001 From: Jorj Bauer Date: Mon, 27 Feb 2017 08:11:59 -0500 Subject: [PATCH] reduce noise from FPS counter --- sdl/aiie.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sdl/aiie.cpp b/sdl/aiie.cpp index a427fd4..a3d7b79 100644 --- a/sdl/aiie.cpp +++ b/sdl/aiie.cpp @@ -16,7 +16,7 @@ #include "timeutil.h" -//#define SHOWFPS +#define SHOWFPS //#define SHOWPC //#define DEBUGCPU //#define SHOWMEMPAGE @@ -264,10 +264,8 @@ int main(int argc, char *argv[]) char buf[25]; sprintf(buf, "%lu FPS", loopCount / lenSecs); g_display->debugMsg(buf); - if (lenSecs >= 60) { - startAt = time(NULL); - loopCount = 0; - } + startAt = time(NULL); + loopCount = 0; } #endif #ifdef SHOWPC