mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 08:42:45 +01:00
svc: Fix string formatting for CreateThread.
This commit is contained in:
parent
dd3a237981
commit
dc4fe2fbd5
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,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 = Common::StringFromFormat("unknown-%016" PRIX64, entry_point);
|
std::string name = Common::StringFromFormat("unknown-%llx", entry_point);
|
||||||
|
|
||||||
if (priority > THREADPRIO_LOWEST) {
|
if (priority > THREADPRIO_LOWEST) {
|
||||||
return Kernel::ERR_OUT_OF_RANGE;
|
return Kernel::ERR_OUT_OF_RANGE;
|
||||||
|
|
Loading…
Reference in a new issue