Update DisplayProcessScreen function to include executable name

This commit is contained in:
EnderIce2 2024-03-05 01:07:09 +02:00
parent 235f42b8d8
commit 196aacda84
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -606,11 +606,14 @@ nsa void DisplayProcessScreen(CPU::ExceptionFrame *Frame, bool IgnoreReady = tru
}
}
ExPrint("\eAAAAAA-> \eFAFAFA%.*s%s\e8A8A8A(%ld) \e%s%s\n",
ExPrint("\eAAAAAA-> \eFAFAFA%.*s%s\e8A8A8A(%ld) \e%s%s \e8A8A8A[exe: %s]\n",
textLimit, Process->Name,
strlen(Process->Name) > textLimit ? "\e8A8A8A..." : "",
Process->ID, StatusColor[Process->State.load()],
StatusString[Process->State.load()]);
StatusString[Process->State.load()],
Process->Executable
? Process->Executable->Name
: "none");
bool tRdy = false;
foreach (auto Thread in Process->Threads)