From 8fec3224fca9f334b7c52f84eeb7e26c64c925c8 Mon Sep 17 00:00:00 2001 From: Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> Date: Tue, 3 May 2022 21:20:00 -0500 Subject: [PATCH] Index SymbolDB when generated from address Otherwise every function will be the same color in the code view widget. --- Source/Core/Core/PowerPC/PPCAnalyst.cpp | 1 + 1 file changed, 1 insertion(+) 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;