1
0
Fork 0
forked from suyu/suyu

Port # #4192 from Citra: "svc: change unknown to thread in CreateThread"

This commit is contained in:
Valentin Vanelslande 2018-09-08 07:40:24 -05:00 committed by fearlessTobi
parent df5a44a40b
commit 54ddb37b3c

View file

@ -524,7 +524,7 @@ static void ExitProcess() {
/// Creates a new thread /// Creates a new thread
static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, VAddr stack_top, static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, VAddr stack_top,
u32 priority, s32 processor_id) { u32 priority, s32 processor_id) {
std::string name = fmt::format("unknown-{:X}", entry_point); std::string name = fmt::format("thread-{:X}", entry_point);
if (priority > THREADPRIO_LOWEST) { if (priority > THREADPRIO_LOWEST) {
return ERR_INVALID_THREAD_PRIORITY; return ERR_INVALID_THREAD_PRIORITY;