mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 11:05:46 +00:00
General: Fix microprofile on dynarmic/svc, fix wait tree showing which threads were running.
This commit is contained in:
parent
cb974be3ce
commit
b121009e03
11 changed files with 87 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue