summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMinty-Meeo <45425365+Minty-Meeo@users.noreply.github.com>2022-05-03 21:20:00 -0500
committerMinty-Meeo <45425365+Minty-Meeo@users.noreply.github.com>2022-05-03 21:20:00 -0500
commit8fec3224fca9f334b7c52f84eeb7e26c64c925c8 (patch)
tree6da7648dd0523fa052b32372635e6b331c0b28cb /Source/Core
parentd0ed09ab6fe8e19a64e8f1bb2867f9c439616d4c (diff)
Index SymbolDB when generated from address
Otherwise every function will be the same color in the code view widget.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/PPCAnalyst.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/PowerPC/PPCAnalyst.cpp
index be5fb04e92..95553c9c27 100644
--- a/Source/Core/Core/PowerPC/PPCAnalyst.cpp
+++ b/Source/Core/Core/PowerPC/PPCAnalyst.cpp
@@ -367,6 +367,7 @@ void FindFunctions(u32 startAddr, u32 endAddr, PPCSymbolDB* func_db)
// Step 2:
func_db->FillInCallers();
+ func_db->Index();
int numLeafs = 0, numNice = 0, numUnNice = 0;
int numTimer = 0, numRFI = 0, numStraightLeaf = 0;