mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
vm::cptr/bcptr/lcptr used widely for const pointers
This commit is contained in:
parent
e896da8064
commit
317417d541
97 changed files with 781 additions and 781 deletions
|
@ -365,7 +365,7 @@ namespace loader
|
|||
{
|
||||
for (auto &e : m.second.exports)
|
||||
{
|
||||
auto code = vm::ptr<const 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) : 0);
|
||||
|
||||
bool is_empty = !code || (code[0] == 0x38600000 && code[1] == BLR());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue