Remove Function Address Symbol Mask

The upper 4 bits were masked out of function addresses prior when generating symbols.
This commit is contained in:
gamemasterplc 2017-09-11 15:39:22 -05:00 committed by GitHub
parent b0f93f2acc
commit 4908d79a71
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ static u32 EvaluateBranchTarget(UGeckoInstruction instr, u32 pc)
bool AnalyzeFunction(u32 startAddr, Symbol& func, int max_size) bool AnalyzeFunction(u32 startAddr, Symbol& func, int max_size)
{ {
if (func.name.empty()) if (func.name.empty())
func.Rename(StringFromFormat("zz_%07x_", startAddr & 0x0FFFFFFF)); func.Rename(StringFromFormat("zz_%08x_", startAddr));
if (func.analyzed) if (func.analyzed)
return true; // No error, just already did it. return true; // No error, just already did it.