summaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-13 19:03:20 -0500
committerbunnei <bunneidev@gmail.com>2018-02-14 00:02:14 -0500
commitc85e3a2234156e4be9248835f1050a54d323dec9 (patch)
tree638490849ff3ed1c23222dfb956dbb4b64d17c6c /src/yuzu
parentaf8ae770efbcbbcc9a9d79d1e6a2e47e1c7c6f3a (diff)
debugger: Fix wait_tree crash.
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/debugger/wait_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp
index 70471923e..e4a6d16ae 100644
--- a/src/yuzu/debugger/wait_tree.cpp
+++ b/src/yuzu/debugger/wait_tree.cpp
@@ -168,7 +168,7 @@ QString WaitTreeThread::GetText() const {
}
QString pc_info = tr(" PC = 0x%1 LR = 0x%2")
.arg(thread.context.pc, 8, 16, QLatin1Char('0'))
- .arg(thread.context.cpu_registers[31], 8, 16, QLatin1Char('0'));
+ .arg(thread.context.cpu_registers[30], 8, 16, QLatin1Char('0'));
return WaitTreeWaitObject::GetText() + pc_info + " (" + status + ") ";
}