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 957cbdfee..0503e5089 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -439,6 +439,8 @@ void Thread::SetPriority(s32 priority) { | |||
| 439 | // If thread was ready, adjust queues | 439 | // If thread was ready, adjust queues |
| 440 | if (status == THREADSTATUS_READY) | 440 | if (status == THREADSTATUS_READY) |
| 441 | ready_queue.move(this, current_priority, priority); | 441 | ready_queue.move(this, current_priority, priority); |
| 442 | else | ||
| 443 | ready_queue.prepare(priority); | ||
| 442 | 444 | ||
| 443 | nominal_priority = current_priority = priority; | 445 | nominal_priority = current_priority = priority; |
| 444 | } | 446 | } |