Index SymbolDB when generated from address

Otherwise every function will be the same color in the code view widget.
This commit is contained in:
Minty-Meeo 2022-05-03 21:20:00 -05:00
parent d0ed09ab6f
commit 8fec3224fc

View File

@ -367,6 +367,7 @@ void FindFunctions(u32 startAddr, u32 endAddr, PPCSymbolDB* func_db)
// Step 2: // Step 2:
func_db->FillInCallers(); func_db->FillInCallers();
func_db->Index();
int numLeafs = 0, numNice = 0, numUnNice = 0; int numLeafs = 0, numNice = 0, numUnNice = 0;
int numTimer = 0, numRFI = 0, numStraightLeaf = 0; int numTimer = 0, numRFI = 0, numStraightLeaf = 0;