diff --git a/pcsx2/Frontend/ImGuiOverlays.cpp b/pcsx2/Frontend/ImGuiOverlays.cpp index a2c7a3f39c..43b87114cc 100644 --- a/pcsx2/Frontend/ImGuiOverlays.cpp +++ b/pcsx2/Frontend/ImGuiOverlays.cpp @@ -112,7 +112,6 @@ void ImGuiManager::DrawPerformanceOverlay() ImDrawList* dl = ImGui::GetBackgroundDrawList(); std::string text; ImVec2 text_size; - bool first = true; text.reserve(128); @@ -132,6 +131,7 @@ void ImGuiManager::DrawPerformanceOverlay() if (!paused) { + bool first = true; const float speed = PerformanceMetrics::GetSpeed(); if (GSConfig.OsdShowFPS) {