From 202260de0d0f2f5ae4764290a881bd1952c87c82 Mon Sep 17 00:00:00 2001 From: jonkadelic Date: Fri, 5 Sep 2025 08:30:23 +0200 Subject: [PATCH] GEDebugger: fixed Verts tab displaying Invalid Resolves an issue where the Verts tab on the GE Debugger consistently displays "Invalid" for all vertex values. This was due to rowCount_ in TabVertices being left uninitialized. --- Windows/GEDebugger/TabVertices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/GEDebugger/TabVertices.cpp b/Windows/GEDebugger/TabVertices.cpp index ea06a25097..25c64b1669 100644 --- a/Windows/GEDebugger/TabVertices.cpp +++ b/Windows/GEDebugger/TabVertices.cpp @@ -169,7 +169,7 @@ int CtrlVertexList::GetRowCount() { // TODO: Maybe there are smarter ways? Also, is this the best place to recalc? auto state = gpuDebug->GetGState(); - int rowCount_ = gpuDebug->GetCurrentPrimCount(); + rowCount_ = gpuDebug->GetCurrentPrimCount(); if (!gpuDebug->GetCurrentDrawAsDebugVertices(rowCount_, vertices, indices)) { rowCount_ = 0; }