From 298afbaf6866e13be4167dba8a1938551e7df262 Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Sat, 14 Mar 2020 12:47:18 +0100 Subject: [PATCH] back to SDL_Delay Signed-off-by: Vincent-FK --- RetroFE/Source/RetroFE.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index ba76133..48ce4b5 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -56,8 +56,8 @@ #include #endif -#define GET_RUN_TIME_MS (clock() / (CLOCKS_PER_SEC/1000)) -//#define GET_RUN_TIME_MS (SDL_GetTicks()) +//#define GET_RUN_TIME_MS (clock() / (CLOCKS_PER_SEC/1000)) +#define GET_RUN_TIME_MS (SDL_GetTicks()) //#define PERIOD_FORCE_REFRESH 1000 //ms #define FPS 60 // TODO: set in conf file