From b8b8c0a14cc75c87e318276b3b5d77dd5c86fff1 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 30 Jan 2022 17:44:17 +0100 Subject: [PATCH] Set a proper thread name --- src/utils/CThread.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/CThread.h b/src/utils/CThread.h index d840f9d..9748f8d 100644 --- a/src/utils/CThread.h +++ b/src/utils/CThread.h @@ -36,8 +36,10 @@ public: //! allocate the stack pThreadStack = (uint8_t *) memalign(0x20, iStackSize); //! create the thread - if (pThread && pThreadStack) + if (pThread && pThreadStack) { OSCreateThread(pThread, &CThread::threadCallback, 1, (char *) this, pThreadStack + iStackSize, iStackSize, iPriority, iAttributes); + OSSetThreadName(pThread, "Wiiload Thread"); + } } //! destructor