1
1
Fork 0
forked from eden-emu/eden

core/debugger: Support reading guest thread names

This commit is contained in:
Liam 2022-06-01 10:54:44 -04:00
parent 858f8ac6d9
commit 07922abffc
4 changed files with 172 additions and 14 deletions
src/core/hle/kernel

View file

@ -198,6 +198,10 @@ ResultCode KThread::Initialize(KThreadFunction func, uintptr_t arg, VAddr user_s
resource_limit_release_hint = false;
cpu_time = 0;
// Set debug context.
stack_top = user_stack_top;
argument = arg;
// Clear our stack parameters.
std::memset(static_cast<void*>(std::addressof(GetStackParameters())), 0,
sizeof(StackParameters));