diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index ed8fbdc62..d042c1603 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -874,9 +874,7 @@ int CalcSmoothRatio(const ClockTicks &totalclk, const ClockTicks &ototalclk, int { const double TICRATE = 120.; - double rfreq = (refreshfreq != -1 ? refreshfreq : 60); - rfreq = rfreq * TICRATE / timerGetClockRate(); - + double rfreq = refreshfreq * TICRATE / timerGetClockRate(); double elapsedTime = (totalclk - ototalclk).toScale16F(); double elapsedFrames = elapsedTime * rfreq * (1. / TICRATE); double ratio = (elapsedFrames * realgameticspersec) / rfreq;