Skip to content

Commit

Permalink
Log IDs of loaded prx modules
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Mar 26, 2020
1 parent 8f43782 commit e36845c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/lv2/sys_overlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static error_code overlay_load_module(vm::ptr<u32> ovlmid, const std::string& vp

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();
*entry = ovlm->entry;
Expand Down
6 changes: 3 additions & 3 deletions rpcs3/Emu/Cell/lv2/sys_prx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ static error_code prx_load_module(const std::string& vpath, u64 flags, vm::ptr<s

if (ignore)
{
sys_prx.warning("Ignored module: %s", vpath);

const auto prx = idm::make_ptr<lv2_obj, lv2_prx>();

prx->name = std::move(name);
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());
}

Expand Down Expand Up @@ -182,7 +182,7 @@ static error_code prx_load_module(const std::string& vpath, u64 flags, vm::ptr<s

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());
}
Expand Down

0 comments on commit e36845c

Please sign in to comment.