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