mirror of https://github.com/mgba-emu/mgba.git
support variant symfile format with function sizes
This commit is contained in:
parent
87ec3f3d4a
commit
11f105eec7
|
@ -97,6 +97,13 @@ void mDebuggerLoadARMIPSSymbols(struct mDebuggerSymbols* st, struct VFile* vf) {
|
|||
continue;
|
||||
}
|
||||
|
||||
char* buf2 = strchr(buf, ',');
|
||||
|
||||
if (buf2 != NULL) {
|
||||
// Commas separate names from function sizes
|
||||
*buf2 = '\0';
|
||||
}
|
||||
|
||||
mDebuggerSymbolAdd(st, buf, address, -1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue