summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-14 16:18:56 +0100
committerGitHub <noreply@github.com>2018-02-14 16:18:56 +0100
commitb65c096be5f376e8bd739f59869a629142bc4f8c (patch)
treeda208300d22f77acddce67d9f9261c2ef483538e /src
parentMerge pull request #191 from lioncash/log (diff)
parentdebugger: Fix wait_tree crash. (diff)
downloadyuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.gz
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.bz2
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.lz
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.xz
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.zst
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.zip
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 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 + ") ";
}