diff --git a/Source/Core/Core/HW/SystemTimers.cpp b/Source/Core/Core/HW/SystemTimers.cpp index d12b413f00..eedaa8a0c8 100644 --- a/Source/Core/Core/HW/SystemTimers.cpp +++ b/Source/Core/Core/HW/SystemTimers.cpp @@ -253,7 +253,7 @@ double GetEstimatedEmulationPerformance() u64 ts_now, ts_before; // In microseconds { std::lock_guard lk(s_emu_to_real_time_mutex); - size_t index_now = s_emu_to_real_time_index == 0 ? s_emu_to_real_time_ring_buffer.size() : + size_t index_now = s_emu_to_real_time_index == 0 ? s_emu_to_real_time_ring_buffer.size() - 1 : s_emu_to_real_time_index - 1; size_t index_before = s_emu_to_real_time_index;