Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Update DisplayProcessScreen function to include executable name
Browse files Browse the repository at this point in the history
  • Loading branch information
EnderIce2 committed Mar 4, 2024
1 parent 235f42b commit 196aacd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/panic/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 196aacd

Please sign in to comment.