mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
SymbolDB: Normalize variable names
Normalizes variable naming so that it adheres to our coding style While we're at it do minor cleanup relating to modified lines
This commit is contained in:
@ -61,20 +61,17 @@ const char* GetLineText(int line)
|
||||
|
||||
Symbol* DSPSymbolDB::GetSymbolFromAddr(u32 addr)
|
||||
{
|
||||
XFuncMap::iterator it = functions.find(addr);
|
||||
auto it = m_functions.find(addr);
|
||||
|
||||
if (it != functions.end())
|
||||
{
|
||||
if (it != m_functions.end())
|
||||
return &it->second;
|
||||
}
|
||||
else
|
||||
|
||||
for (auto& func : m_functions)
|
||||
{
|
||||
for (auto& func : functions)
|
||||
{
|
||||
if (addr >= func.second.address && addr < func.second.address + func.second.size)
|
||||
return &func.second;
|
||||
}
|
||||
if (addr >= func.second.address && addr < func.second.address + func.second.size)
|
||||
return &func.second;
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user