From 8701365bea613de7421ed7037e18560feb156d0a Mon Sep 17 00:00:00 2001 From: Ziemas Date: Tue, 20 Oct 2026 08:39:50 +0200 Subject: [PATCH] Debugger: Get module list rowcount stored vector It's probably better to get the count from the list we actually want to display. --- pcsx2-qt/Debugger/ModuleModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-qt/Debugger/ModuleModel.cpp b/pcsx2-qt/Debugger/ModuleModel.cpp index 707b28db3e..cd35a25dbd 100644 --- a/pcsx2-qt/Debugger/ModuleModel.cpp +++ b/pcsx2-qt/Debugger/ModuleModel.cpp @@ -14,7 +14,7 @@ ModuleModel::ModuleModel(DebugInterface& cpu, QObject* parent) int ModuleModel::rowCount(const QModelIndex&) const { - return m_cpu.GetModuleList().size(); + return m_modules.size(); } int ModuleModel::columnCount(const QModelIndex&) const