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

@@ -347,8 +347,10 @@ namespace ams::kern {
constexpr s32 GetIdealCore() const { return this->ideal_core_id; }
constexpr s32 GetActiveCore() const { return this->core_id; }
constexpr void SetActiveCore(s32 core) { this->core_id = core; }
constexpr s32 GetPriority() const { return this->priority; }
constexpr void SetPriority(s32 prio) { this->priority = prio; }
constexpr s32 GetBasePriority() const { return this->base_priority; }
constexpr QueueEntry &GetPriorityQueueEntry(s32 core) { return this->per_core_priority_queue_entry[core]; }
@@ -438,6 +440,7 @@ namespace ams::kern {
void Wakeup();
void SetBasePriority(s32 priority);
Result SetPriorityToIdle();
Result Run();