mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 13:21:14 +00:00
Add a constraint about vm area approx matching
This commit is contained in:
parent
b334621d76
commit
5a581f46df
@ -879,7 +879,7 @@ std::string ppu_thread::dump_regs() const
|
||||
{
|
||||
toc = *vm::get_super_ptr<u32>(static_cast<u32>(reg + 4));
|
||||
|
||||
if (toc % 4 == 0 && vm::check_addr(toc) && !vm::check_addr(toc, vm::page_executable))
|
||||
if (toc % 4 == 0 && (toc >> 29) == (reg_ptr >> 29) && vm::check_addr(toc) && !vm::check_addr(toc, vm::page_executable))
|
||||
{
|
||||
is_function = true;
|
||||
reg = reg_ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user