mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 19:00:23 +00:00
Fix symbolmap loading issue on MSVC 2015.
This commit is contained in:
parent
77f0de9b63
commit
936ccbf18a
@ -121,7 +121,7 @@ bool SymbolMap::LoadSymbolMap(const char *filename) {
|
||||
SymbolType type;
|
||||
char name[128] = {0};
|
||||
|
||||
if (sscanf(line, ".module %x %08x %08x %127c", &moduleIndex, &address, &size, name) == 4) {
|
||||
if (sscanf(line, ".module %x %08x %08x %127c", &moduleIndex, &address, &size, name) >= 3) {
|
||||
// Found a module definition.
|
||||
ModuleEntry mod;
|
||||
mod.index = moduleIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user