diff options
| author | 2018-09-17 09:56:48 -0400 | |
|---|---|---|
| committer | 2018-09-17 09:56:48 -0400 | |
| commit | e561afdcd5526c1df70cfb9c83874e1732d8a519 (patch) | |
| tree | c795367bd611aec028f056ff74d7d5c2447f522a /src/core/hle/kernel/svc.cpp | |
| parent | Merge pull request #1327 from FearlessTobi/port-4171 (diff) | |
| parent | Port # #4192 from Citra: "svc: change unknown to thread in CreateThread" (diff) | |
| download | yuzu-e561afdcd5526c1df70cfb9c83874e1732d8a519.tar.gz yuzu-e561afdcd5526c1df70cfb9c83874e1732d8a519.tar.xz yuzu-e561afdcd5526c1df70cfb9c83874e1732d8a519.zip | |
Merge pull request #1328 from FearlessTobi/port-4192
Port #4192 from Citra: "svc: change unknown to thread in CreateThread"
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index a5aaa089d..3c526304f 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -524,7 +524,7 @@ static void ExitProcess() { | |||
| 524 | /// Creates a new thread | 524 | /// Creates a new thread |
| 525 | static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, VAddr stack_top, | 525 | static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, VAddr stack_top, |
| 526 | u32 priority, s32 processor_id) { | 526 | u32 priority, s32 processor_id) { |
| 527 | std::string name = fmt::format("unknown-{:X}", entry_point); | 527 | std::string name = fmt::format("thread-{:X}", entry_point); |
| 528 | 528 | ||
| 529 | if (priority > THREADPRIO_LOWEST) { | 529 | if (priority > THREADPRIO_LOWEST) { |
| 530 | return ERR_INVALID_THREAD_PRIORITY; | 530 | return ERR_INVALID_THREAD_PRIORITY; |