Warn on exports from syslib.

They don't seem to hook up properly on hardware by the module name.
This commit is contained in:
Unknown W. Brackets 2014-07-13 21:55:15 -07:00
parent 50402a3d49
commit 7c4aab3cc2

View File

@ -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;
}