diff options
| author | 2021-01-10 01:02:46 -0800 | |
|---|---|---|
| committer | 2021-01-11 14:23:16 -0800 | |
| commit | 81c1bfafeac88d0651d146056e9008c22bea87d2 (patch) | |
| tree | d7952b8887d433e7fbcba40fc00d0fc81a113932 /src | |
| parent | hle: kernel: k_scheduler_lock: Fix shadowing errors. (diff) | |
| download | yuzu-81c1bfafeac88d0651d146056e9008c22bea87d2.tar.gz yuzu-81c1bfafeac88d0651d146056e9008c22bea87d2.tar.xz yuzu-81c1bfafeac88d0651d146056e9008c22bea87d2.zip | |
yuzu: debugger: wait_tree: Handle unknown ThreadState.
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp index 3ded85720..deefb0ba0 100644 --- a/src/yuzu/debugger/wait_tree.cpp +++ b/src/yuzu/debugger/wait_tree.cpp | |||
| @@ -259,6 +259,9 @@ QString WaitTreeThread::GetText() const { | |||
| 259 | case Kernel::ThreadState::Terminated: | 259 | case Kernel::ThreadState::Terminated: |
| 260 | status = tr("terminated"); | 260 | status = tr("terminated"); |
| 261 | break; | 261 | break; |
| 262 | default: | ||
| 263 | status = tr("unknown"); | ||
| 264 | break; | ||
| 262 | } | 265 | } |
| 263 | 266 | ||
| 264 | const auto& context = thread.GetContext64(); | 267 | const auto& context = thread.GetContext64(); |