mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01: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:
1 parent
bf1e37dd05
commit
f7b37ee00a
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user