Skip to content

Commit

Permalink
Debugger: Fix how IRX modules are displayed in the symbol tree
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoticgd committed Mar 12, 2024
1 parent 62b8cd8 commit 50f0c53
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pcsx2-qt/Debugger/SymbolTree/SymbolTreeWidgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 50f0c53

Please sign in to comment.