Explorar o código

debugger: Fix wait_tree crash.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
c85e3a2234
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/yuzu/debugger/wait_tree.cpp

+ 1 - 1
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 + ") ";
 }