diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index cb31a3b45..07f5f1867 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp @@ -196,10 +196,10 @@ u64 CoreTiming::GetClockTicks() const { const double ticks = static_cast(fres); const double speed_limit = static_cast(Settings::values.speed_limit.GetValue()) * 0.01; - return static_cast(ticks / speed_limit); - } else { - return fres; + fres = static_cast(ticks / speed_limit); } + + return fres; } u64 CoreTiming::GetGPUTicks() const {