kern: fix bug in SvcSetThreadPriority

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-31 14:50:52 -07:00
1 parent 94f9cc1626
commit 5b8a20dbf7
3 files changed
+17 -1

No files matched your search

@@ -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();
}