svc: change unknown to thread in CreateThread

This commit is contained in:
Valentin Vanelslande 2018-09-08 07:40:24 -05:00 committed by GitHub
parent f86c993e11
commit 5c4da2d218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -723,7 +723,7 @@ static ResultCode GetResourceLimitLimitValues(VAddr values, Handle resource_limi
/// Creates a new thread /// Creates a new thread
static ResultCode CreateThread(Handle* out_handle, u32 priority, u32 entry_point, u32 arg, static ResultCode CreateThread(Handle* out_handle, u32 priority, u32 entry_point, u32 arg,
u32 stack_top, s32 processor_id) { u32 stack_top, s32 processor_id) {
std::string name = fmt::format("unknown-{:08X}", entry_point); std::string name = fmt::format("thread-{:08X}", entry_point);
if (priority > THREADPRIO_LOWEST) { if (priority > THREADPRIO_LOWEST) {
return ERR_OUT_OF_RANGE; return ERR_OUT_OF_RANGE;