mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-27 12:30:06 +00:00
Merge pull request #441 from Kingcom/CallStack
Add check for valid address to call stack
This commit is contained in:
commit
72915423c3
@ -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 New Issue
Block a user