mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 19:55:46 +00:00
Yuzu/Debuggers: Correct Wait Tree for Paused threads.
This commit is contained in:
parent
87117805c9
commit
119d9844db
1 changed files with 10 additions and 2 deletions
|
@ -208,7 +208,11 @@ QString WaitTreeThread::GetText() const {
|
||||||
status = tr("running");
|
status = tr("running");
|
||||||
break;
|
break;
|
||||||
case Kernel::ThreadStatus::Ready:
|
case Kernel::ThreadStatus::Ready:
|
||||||
status = tr("ready");
|
if (!thread.IsPaused()) {
|
||||||
|
status = tr("ready");
|
||||||
|
} else {
|
||||||
|
status = tr("paused");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case Kernel::ThreadStatus::Paused:
|
case Kernel::ThreadStatus::Paused:
|
||||||
status = tr("paused");
|
status = tr("paused");
|
||||||
|
@ -256,7 +260,11 @@ QColor WaitTreeThread::GetColor() const {
|
||||||
case Kernel::ThreadStatus::Running:
|
case Kernel::ThreadStatus::Running:
|
||||||
return QColor(Qt::GlobalColor::darkGreen);
|
return QColor(Qt::GlobalColor::darkGreen);
|
||||||
case Kernel::ThreadStatus::Ready:
|
case Kernel::ThreadStatus::Ready:
|
||||||
return QColor(Qt::GlobalColor::darkBlue);
|
if (!thread.IsPaused()) {
|
||||||
|
return QColor(Qt::GlobalColor::darkBlue);
|
||||||
|
} else {
|
||||||
|
return QColor(Qt::GlobalColor::lightGray);
|
||||||
|
}
|
||||||
case Kernel::ThreadStatus::Paused:
|
case Kernel::ThreadStatus::Paused:
|
||||||
return QColor(Qt::GlobalColor::lightGray);
|
return QColor(Qt::GlobalColor::lightGray);
|
||||||
case Kernel::ThreadStatus::WaitHLEEvent:
|
case Kernel::ThreadStatus::WaitHLEEvent:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue