mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
be_t constructor implemented, make() eliminated
be_t enums are forbidden, le_t improved, some operators cleaned.
This commit is contained in:
parent
a800d21a31
commit
ef6f9f6ded
47 changed files with 917 additions and 1046 deletions
|
@ -117,7 +117,7 @@ namespace loader
|
|||
return loading_error;
|
||||
}
|
||||
|
||||
segment.initial_addr.set(phdr.p_vaddr.addr());
|
||||
segment.initial_addr = phdr.p_vaddr;
|
||||
LOG_WARNING(LOADER, "segment addr=0x%x, initial addr = 0x%x", segment.begin.addr(), segment.initial_addr.addr());
|
||||
|
||||
if (phdr.p_filesz)
|
||||
|
@ -365,7 +365,7 @@ namespace loader
|
|||
{
|
||||
for (auto &e : m.second.exports)
|
||||
{
|
||||
auto code = vm::cptr<u32>::make(vm::check_addr(e.second, 8) ? vm::read32(e.second) : 0);
|
||||
auto code = vm::cptr<u32>::make(vm::check_addr(e.second, 8) ? vm::read32(e.second).value() : 0);
|
||||
|
||||
bool is_empty = !code || (code[0] == 0x38600000 && code[1] == BLR());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue