kern: fix bug in SvcSetThreadPriority

This commit is contained in:
Michael Scire
2020-07-20 02:11:49 -07:00
committed by SciresM
parent 94f9cc1626
commit 5b8a20dbf7
3 changed files with 17 additions and 1 deletions

View File

@@ -141,7 +141,7 @@ namespace ams::kern::svc {
R_UNLESS(thread.IsNotNull(), svc::ResultInvalidHandle());
/* Set the thread priority. */
thread->SetPriority(priority);
thread->SetBasePriority(priority);
return ResultSuccess();
}