mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-01 17:02:20 -05:00
SymbolDB: Namespace code under the Common namespace
Moves more common code into the Common namespace where it belongs.
This commit is contained in:
@@ -310,10 +310,10 @@ int PPCDebugInterface::GetColor(unsigned int address)
|
||||
0xd0FFd0, // light green
|
||||
0xFFFFd0, // light yellow
|
||||
};
|
||||
Symbol* symbol = g_symbolDB.GetSymbolFromAddr(address);
|
||||
Common::Symbol* symbol = g_symbolDB.GetSymbolFromAddr(address);
|
||||
if (!symbol)
|
||||
return 0xFFFFFF;
|
||||
if (symbol->type != Symbol::Type::Function)
|
||||
if (symbol->type != Common::Symbol::Type::Function)
|
||||
return 0xEEEEFF;
|
||||
return colors[symbol->index % 6];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user