1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Log IDs of loaded prx modules

This commit is contained in:
Eladash 2020-03-26 10:49:07 +02:00 committed by Ivan
parent 38c8dd98b4
commit ccc7cb7994
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ static error_code overlay_load_module(vm::ptr<u32> ovlmid, const std::string& vp
ppu_initialize(*ovlm); ppu_initialize(*ovlm);
sys_overlay.success("Loaded overlay: %s", vpath); sys_overlay.success(u8"Loaded overlay: %s” (id=0x%x)", vpath, idm::last_id());
*ovlmid = idm::last_id(); *ovlmid = idm::last_id();
*entry = ovlm->entry; *entry = ovlm->entry;

View File

@ -144,13 +144,13 @@ static error_code prx_load_module(const std::string& vpath, u64 flags, vm::ptr<s
if (ignore) if (ignore)
{ {
sys_prx.warning("Ignored module: %s", vpath);
const auto prx = idm::make_ptr<lv2_obj, lv2_prx>(); const auto prx = idm::make_ptr<lv2_obj, lv2_prx>();
prx->name = std::move(name); prx->name = std::move(name);
prx->path = std::move(path); prx->path = std::move(path);
sys_prx.warning(u8"Ignored module: “%s” (id=0x%x)", vpath, idm::last_id());
return not_an_error(idm::last_id()); return not_an_error(idm::last_id());
} }
@ -182,7 +182,7 @@ static error_code prx_load_module(const std::string& vpath, u64 flags, vm::ptr<s
ppu_initialize(*prx); ppu_initialize(*prx);
sys_prx.success("Loaded module: %s", vpath); sys_prx.success(u8"Loaded module: %s” (id=0x%x)", vpath, idm::last_id());
return not_an_error(idm::last_id()); return not_an_error(idm::last_id());
} }