mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-08 14:58:36 +00:00
Read function size from .sym
This commit is contained in:
parent
775915e523
commit
92e2cdcf59
@ -243,7 +243,14 @@ bool SymbolMap::LoadNocashSym(const char *filename)
|
||||
{
|
||||
continue; // not supported yet
|
||||
} else { // labels
|
||||
AddSymbol(value,address,1,ST_FUNCTION);
|
||||
int size = 1;
|
||||
char* seperator = strchr(value,',');
|
||||
if (seperator != NULL)
|
||||
{
|
||||
*seperator = 0;
|
||||
sscanf(seperator+1,"%08X",&size);
|
||||
}
|
||||
AddSymbol(value,address,size,ST_FUNCTION);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user