diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index ab69a4262..3e70d3995 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -441,6 +441,8 @@ void Thread::SetPriority(s32 priority) { | |||
| 441 | // If thread was ready, adjust queues | 441 | // If thread was ready, adjust queues |
| 442 | if (status == THREADSTATUS_READY) | 442 | if (status == THREADSTATUS_READY) |
| 443 | ready_queue.move(this, current_priority, priority); | 443 | ready_queue.move(this, current_priority, priority); |
| 444 | else | ||
| 445 | ready_queue.prepare(priority); | ||
| 444 | 446 | ||
| 445 | nominal_priority = current_priority = priority; | 447 | nominal_priority = current_priority = priority; |
| 446 | } | 448 | } |