From 81c1bfafeac88d0651d146056e9008c22bea87d2 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 10 Jan 2021 01:02:46 -0800 Subject: [PATCH] yuzu: debugger: wait_tree: Handle unknown ThreadState. --- src/yuzu/debugger/wait_tree.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 { case Kernel::ThreadState::Terminated: status = tr("terminated"); break; + default: + status = tr("unknown"); + break; } const auto& context = thread.GetContext64();