Read symbols with spaces in their names.
Before it was changing "UNK: hex" and "EXP: hex" into "UNK:" and "EXP:".
This commit is contained in:
parent
bf1e37dd05
commit
f7b37ee00a
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ bool SymbolMap::LoadSymbolMap(const char *filename)
|
|||
|
||||
if (!started) continue;
|
||||
MapEntry e;
|
||||
sscanf(line,"%08x %08x %08x %i %s",&e.address,&e.size,&e.vaddress,(int*)&e.type,e.name);
|
||||
memset(&e, 0, sizeof(e));
|
||||
sscanf(line,"%08x %08x %08x %i %127c",&e.address,&e.size,&e.vaddress,(int*)&e.type,e.name);
|
||||
|
||||
if (e.type == ST_DATA && e.size==0)
|
||||
e.size=4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue