From c85e3a2234156e4be9248835f1050a54d323dec9 Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 13 Feb 2018 19:03:20 -0500 Subject: debugger: Fix wait_tree crash. --- src/yuzu/debugger/wait_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + ") "; } -- cgit v1.2.3