RSX Debugger: populate Captured Draw Calls list

The constructor inserted rows into m_list_captured_frame for the command queue but never did the same for m_list_captured_draw_calls. GetMemory()'s setItem() loop for draw calls then no-op'd on missing rows, so the Captured Draw Calls tab always appeared empty after a frame capture.
This commit is contained in:
score3229 2026-04-26 18:03:31 -04:00 committed by Elad
parent 96f73f4497
commit 7028e85fac

View file

@ -259,6 +259,10 @@ rsx_debugger::rsx_debugger(std::shared_ptr<gui_settings> gui_settings, QWidget*
for (u32 i = 0; i < frame_debug.command_queue.size(); i++)
m_list_captured_frame->insertRow(i);
// Fill the draw calls
for (u32 i = 0; i < frame_debug.draw_calls.size(); i++)
m_list_captured_draw_calls->insertRow(i);
restoreGeometry(m_gui_settings->GetValue(gui::rsx_geometry).toByteArray());
// Check for updates every ~100 ms