diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-08 03:00:46 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-08 03:00:46 +0100 |
commit | 72915423c3d4dedc9a168b0d8efdcc5ae46218d9 (patch) | |
tree | 6197018feb7a644e529b837130f3a9776988ac15 | |
parent | Merge pull request #439 from Subv/idle_thread_m (diff) | |
parent | citra-qt: Add check for valid address to call stack (diff) | |
download | yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.tar yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.tar.gz yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.tar.bz2 yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.tar.lz yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.tar.xz yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.tar.zst yuzu-72915423c3d4dedc9a168b0d8efdcc5ae46218d9.zip |
-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); |