mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 07:12:46 +01:00
citra-qt: Add check for valid address to call stack
This commit is contained in:
parent
0bf5a0bfc4
commit
693f6c54e5
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ void CallstackWidget::OnCPUStepped()
|
|||
{
|
||||
ret_addr = Memory::Read32(addr);
|
||||
call_addr = ret_addr - 4; //get call address???
|
||||
|
||||
if (Memory::GetPointer(call_addr) == nullptr)
|
||||
break;
|
||||
|
||||
/* TODO (mattvail) clean me, move to debugger interface */
|
||||
u32 insn = Memory::Read32(call_addr);
|
||||
|
|
Loading…
Reference in a new issue