aboutsummaryrefslogtreecommitdiff
path: root/src
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
commit1cbf186f63bfa15bdfcbd0d7eb90c8a94d6f481f (patch)
tree638490849ff3ed1c23222dfb956dbb4b64d17c6c /src
parentf87cb38361aa6778b3e5632335296d7e19ba4efb (diff)
debugger: Fix wait_tree crash.
Diffstat (limited to 'src')
-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 70471923e0..e4a6d16ae1 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 + ") ";
}