VERY experimental Nintendo Switch 2 emulator
C++
kernel/svc: Correct misleading error message within CreateThread()
Lioncash669f7ccd9d68
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cppindex ada05abd22..6588bd3b8a 100644--- a/src/core/hle/kernel/svc.cpp+++ b/src/core/hle/kernel/svc.cpp@@ -1239,8 +1239,9 @@ static ResultCode CreateThread(Handle* out_handle, VAddr entry_point, u64 arg, V}if (priority > THREADPRIO_LOWEST) {- LOG_ERROR(Kernel_SVC, "An invalid priority was specified, expected {} but got {}",- THREADPRIO_LOWEST, priority);+ LOG_ERROR(Kernel_SVC,+ "Invalid thread priority specified ({}). Must be within the range 0-64",+ priority);return ERR_INVALID_THREAD_PRIORITY;}