mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
SymbolDB: Use an enum class for representing symbol type
This commit is contained in:
parent
d8d127df25
commit
0ac77b0288
8 changed files with 16 additions and 15 deletions
|
@ -186,7 +186,7 @@ int PPCDebugInterface::GetColor(unsigned int address)
|
|||
Symbol* symbol = g_symbolDB.GetSymbolFromAddr(address);
|
||||
if (!symbol)
|
||||
return 0xFFFFFF;
|
||||
if (symbol->type != Symbol::SYMBOL_FUNCTION)
|
||||
if (symbol->type != Symbol::Type::Function)
|
||||
return 0xEEEEFF;
|
||||
return colors[symbol->index % 6];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue