mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Debugger: Improve SPU/PPU callstack handling
This commit is contained in:
parent
6fcc68699a
commit
516da4ecdd
3 changed files with 14 additions and 6 deletions
|
|
@ -591,7 +591,13 @@ std::vector<std::pair<u32, u32>> ppu_thread::dump_callstack_list() const
|
|||
|
||||
auto is_invalid = [](u64 addr)
|
||||
{
|
||||
return (addr > UINT32_MAX || addr % 4 || !vm::check_addr(static_cast<u32>(addr), 1, vm::page_executable));
|
||||
if (addr > UINT32_MAX || addr % 4 || !vm::check_addr(static_cast<u32>(addr), 1, vm::page_executable))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
// Ignore HLE stop address
|
||||
return addr == ppu_function_manager::addr + 8;
|
||||
};
|
||||
|
||||
if (is_invalid(addr))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue