Debugger: Fix how IRX modules are displayed in the symbol tree

This commit is contained in:
chaoticgd 2024-03-12 20:31:46 +00:00
parent 62b8cd86f9
commit 50f0c536d7
No known key found for this signature in database
GPG Key ID: FFFC3F38B3A0E6D8
1 changed files with 1 additions and 2 deletions

View File

@ -236,14 +236,13 @@ std::unique_ptr<SymbolTreeNode> SymbolTreeWidget::groupByModule(
{
group_node->tag = SymbolTreeNode::GROUP;
group_node->name = QString::fromStdString(child_work.module_symbol->name());
if (child_work.module_symbol->is_irx)
{
s32 major = child_work.module_symbol->version_major;
s32 minor = child_work.module_symbol->version_minor;
group_node->name += QString(" v%1.%2").arg(major).arg(minor);
}
else
group_node->name = QString::fromStdString(child_work.module_symbol->name());
}
else
{