diff options
author | Kingcom <sorgts@googlemail.com> | 2015-01-07 21:39:40 +0100 |
---|---|---|
committer | Kingcom <sorgts@googlemail.com> | 2015-01-07 21:39:40 +0100 |
commit | 693f6c54e5dfd73fa2ee51b576019621df1d722d (patch) | |
tree | afe3a465c8b9c270f95977827452ab5eacd6bde3 /src/citra_qt | |
parent | Merge pull request #402 from chrisvj/master (diff) | |
download | yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.tar yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.tar.gz yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.tar.bz2 yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.tar.lz yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.tar.xz yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.tar.zst yuzu-693f6c54e5dfd73fa2ee51b576019621df1d722d.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/debugger/callstack.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/callstack.cpp b/src/citra_qt/debugger/callstack.cpp index bcc5d2143..274c5cccd 100644 --- a/src/citra_qt/debugger/callstack.cpp +++ b/src/citra_qt/debugger/callstack.cpp @@ -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); |