summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-12-30 21:27:30 -0500
committerGravatar Lioncash2018-12-30 21:29:38 -0500
commitb4242633ad542f1f442e825c7ad426f05d703e40 (patch)
tree2af2a13b9fd5c91bbb2d53119893a377d7e2b3d0 /src/core/hle/kernel/kernel.cpp
parentkernel/svc: Sanitize core number and thread priorities in CreateThread() (diff)
downloadyuzu-b4242633ad542f1f442e825c7ad426f05d703e40.tar.gz
yuzu-b4242633ad542f1f442e825c7ad426f05d703e40.tar.xz
yuzu-b4242633ad542f1f442e825c7ad426f05d703e40.zip
kernel/svc: Correct misleading error message within CreateThread()
This is a bounds check to ensure that the thread priority is within the valid range of 0-64. If it exceeds 64, that doesn't necessarily mean that an actual priority of 64 was expected (it actually means whoever called the function screwed up their math). Instead clarify the message to indicate the allowed range of thread priorities.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions