mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 21:45:19 -04:00
Assign names to threads
Visible in debuggers etc
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "m_Do/m_Do_MemCardRWmng.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
#include "os_report.h"
|
||||
#include "dusk/os.h"
|
||||
|
||||
#if PLATFORM_WII || PLATFORM_SHIELD
|
||||
#include <revolution/nand.h>
|
||||
@@ -866,6 +867,10 @@ mDoMemCd_Ctrl_c g_mDoMemCd_control;
|
||||
static int mDoMemCd_main(void*) {
|
||||
JKRThread(OSGetCurrentThread(), 0);
|
||||
|
||||
#if TARGET_PC
|
||||
OSSetCurrentThreadName("MemCardThread");
|
||||
#endif
|
||||
|
||||
JKRSetCurrentHeap(mDoExt_getAssertHeap());
|
||||
|
||||
g_mDoMemCd_control.main();
|
||||
|
||||
Reference in New Issue
Block a user