diff --git a/rpcs3/Emu/RSX/Overlays/overlay_perf_metrics.cpp b/rpcs3/Emu/RSX/Overlays/overlay_perf_metrics.cpp index d9aacf9730..c1b8439788 100644 --- a/rpcs3/Emu/RSX/Overlays/overlay_perf_metrics.cpp +++ b/rpcs3/Emu/RSX/Overlays/overlay_perf_metrics.cpp @@ -383,7 +383,7 @@ namespace rsx rsx_cycles += rsx_thread->get_cycles(); - total_cycles = ppu_cycles + spu_cycles + rsx_cycles; + total_cycles = std::max(1, ppu_cycles + spu_cycles + rsx_cycles); cpu_usage = m_cpu_stats.get_usage(); ppu_usage = std::clamp(cpu_usage * ppu_cycles / total_cycles, 0.f, 100.f);