diff options
| author | 2018-02-13 19:03:20 -0500 | |
|---|---|---|
| committer | 2018-02-14 00:02:14 -0500 | |
| commit | c85e3a2234156e4be9248835f1050a54d323dec9 (patch) | |
| tree | 638490849ff3ed1c23222dfb956dbb4b64d17c6c | |
| parent | Merge pull request #187 from Subv/maxwell3d_query (diff) | |
| download | yuzu-c85e3a2234156e4be9248835f1050a54d323dec9.tar.gz yuzu-c85e3a2234156e4be9248835f1050a54d323dec9.tar.xz yuzu-c85e3a2234156e4be9248835f1050a54d323dec9.zip | |
debugger: Fix wait_tree crash.
| -rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 2 |
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 | ||