diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-12 16:48:43 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 11:35:48 -0400 |
| commit | b121009e0362a7f8539737324030c59fcef3e2c5 (patch) | |
| tree | f2508e39a02966cdd4d9acda1e14ed93cdc150cd /src/yuzu/debugger/wait_tree.cpp | |
| parent | cb974be3ce3de687f6c4f160ed5183f0de0958f5 (diff) | |
General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.
Diffstat (limited to 'src/yuzu/debugger/wait_tree.cpp')
| -rw-r--r-- | src/yuzu/debugger/wait_tree.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/yuzu/debugger/wait_tree.cpp b/src/yuzu/debugger/wait_tree.cpp index ab7b18abec..fa091f4573 100644 --- a/src/yuzu/debugger/wait_tree.cpp +++ b/src/yuzu/debugger/wait_tree.cpp @@ -209,7 +209,11 @@ QString WaitTreeThread::GetText() const { break; case Kernel::ThreadStatus::Ready: if (!thread.IsPaused()) { - status = tr("ready"); + if (thread.WasRunning()) { + status = tr("running"); + } else { + status = tr("ready"); + } } else { status = tr("paused"); } @@ -261,7 +265,11 @@ QColor WaitTreeThread::GetColor() const { return QColor(Qt::GlobalColor::darkGreen); case Kernel::ThreadStatus::Ready: if (!thread.IsPaused()) { - return QColor(Qt::GlobalColor::darkBlue); + if (thread.WasRunning()) { + return QColor(Qt::GlobalColor::darkGreen); + } else { + return QColor(Qt::GlobalColor::darkBlue); + } } else { return QColor(Qt::GlobalColor::lightGray); } |
