mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
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
@ -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…
Reference in New Issue
Block a user