Thread view: Show wait type

This commit is contained in:
Henrik Rydgård committed 2024-12-08 11:13:21 +01:00
1 parent b3227e527b
commit 739a32324d
3 files changed
+12 -4

No files matched your search

+1
View File
@@ -3566,6 +3566,7 @@ std::vector<DebugThreadInfo> GetThreadsInfo() {
info.stackSize = (u32)t->nt.stackSize;
info.priority = t->nt.currentPriority;
info.waitType = (WaitType)(u32)t->nt.waitType;
info.waitID = t->nt.waitID;
info.isCurrent = uid == currentThread;
if (info.isCurrent)
info.curPC = currentMIPS->pc;