summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-02-14 10:18:56 -0500
committerGravatar GitHub2018-02-14 10:18:56 -0500
commitb65c096be5f376e8bd739f59869a629142bc4f8c (patch)
treeda208300d22f77acddce67d9f9261c2ef483538e
parentMerge pull request #191 from lioncash/log (diff)
parentdebugger: Fix wait_tree crash. (diff)
downloadyuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.gz
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.tar.xz
yuzu-b65c096be5f376e8bd739f59869a629142bc4f8c.zip
Merge pull request #190 from bunnei/fix-qt-waittree
debugger: Fix wait_tree crash.
-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 {
168 } 168 }
169 QString pc_info = tr(" PC = 0x%1 LR = 0x%2") 169 QString pc_info = tr(" PC = 0x%1 LR = 0x%2")
170 .arg(thread.context.pc, 8, 16, QLatin1Char('0')) 170 .arg(thread.context.pc, 8, 16, QLatin1Char('0'))
171 .arg(thread.context.cpu_registers[31], 8, 16, QLatin1Char('0')); 171 .arg(thread.context.cpu_registers[30], 8, 16, QLatin1Char('0'));
172 return WaitTreeWaitObject::GetText() + pc_info + " (" + status + ") "; 172 return WaitTreeWaitObject::GetText() + pc_info + " (" + status + ") ";
173} 173}
174 174