complete application of hash adjustment table in pdb -> raddbg converter

This commit is contained in:
Ryan Fleury
2024-01-14 18:12:45 -08:00
parent f61688fff5
commit 8d82accc26
2 changed files with 37 additions and 11 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ eval_leaf_type_from_name(RADDBG_Parsed *rdbg, String8 name)
U32 *matches = raddbg_matches_from_map_node(rdbg, node, &match_count);
if(match_count != 0)
{
U32 type_node_idx = matches[match_count-1];
U32 type_node_idx = matches[0];
if(type_node_idx < rdbg->type_node_count)
{
RADDBG_TypeNode *type_node = &rdbg->type_nodes[type_node_idx];