Log PRX segment end for usage with kernel explorer

This commit is contained in:
Eladash 2020-08-27 18:43:23 +03:00 committed by Ani
parent 933737e8f0
commit 17f7f329a8

View File

@ -737,7 +737,7 @@ std::shared_ptr<lv2_prx> ppu_load_prx(const ppu_prx_object& elf, const std::stri
// Copy segment data
std::memcpy(vm::base(addr), prog.bin.data(), file_size);
ppu_loader.warning("**** Loaded to 0x%x (size=0x%x)", addr, mem_size);
ppu_loader.warning("**** Loaded to 0x%x...0x%x (size=0x%x)", addr, addr + mem_size - 1, mem_size);
// Hash segment
sha1_update(&sha, reinterpret_cast<const uchar*>(&prog.p_vaddr), sizeof(prog.p_vaddr));