mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 15:23:35 +01:00
Rewrite SymbolTable
This commit is contained in:
1 parent
33da416a82
commit
5844d0107b
13 files changed
+527
-625
No files matched your search
@@ -221,8 +221,8 @@ void MIPSDebugInterface::toggleBreakpoint(unsigned int address)
|
||||
int MIPSDebugInterface::getColor(unsigned int address)
|
||||
{
|
||||
int colors[6] = {0xe0FFFF,0xFFe0e0,0xe8e8FF,0xFFe0FF,0xe0FFe0,0xFFFFe0};
|
||||
int n=symbolMap.GetSymbolNum(address);
|
||||
if (n==-1 || symbolMap.GetSymbolSize(n) < 4) return 0xFFFFFF;
|
||||
int n=symbolMap.GetFunctionNum(address);
|
||||
if (n==-1) return 0xFFFFFF;
|
||||
return colors[n%6];
|
||||
}
|
||||
const char *MIPSDebugInterface::getDescription(unsigned int address)
|
||||
|
||||
Reference in new issue
Block a user