mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-26 01:40:24 +00:00
Warn on exports from syslib.
They don't seem to hook up properly on hardware by the module name.
This commit is contained in:
parent
50402a3d49
commit
7c4aab3cc2
@ -1247,6 +1247,9 @@ Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *erro
|
||||
default:
|
||||
func.nid = nid;
|
||||
func.symAddr = exportAddr;
|
||||
if (ent->name == NULL) {
|
||||
WARN_LOG_REPORT(HLE, "Exporting func from syslib export: %08x", nid);
|
||||
}
|
||||
module->ExportFunc(func);
|
||||
}
|
||||
}
|
||||
@ -1301,6 +1304,9 @@ Module *__KernelLoadELFFromPtr(const u8 *ptr, u32 loadAddress, std::string *erro
|
||||
default:
|
||||
var.nid = nid;
|
||||
var.symAddr = exportAddr;
|
||||
if (ent->name == NULL) {
|
||||
WARN_LOG_REPORT(HLE, "Exporting var from syslib export: %08x", nid);
|
||||
}
|
||||
module->ExportVar(var);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user