diff options
author | Subv <subv2112@gmail.com> | 2015-05-12 02:38:10 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-05-12 02:38:10 +0200 |
commit | dbc1320923fb69dffce1b8ebfdfbed070ffddf69 (patch) | |
tree | 8a86500395a5431adbd0d97674aeb7e1bbdc588a | |
parent | Merge pull request #749 from yuriks/stack-top (diff) | |
download | yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.tar yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.tar.gz yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.tar.bz2 yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.tar.lz yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.tar.xz yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.tar.zst yuzu-dbc1320923fb69dffce1b8ebfdfbed070ffddf69.zip |
-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) { // If thread was ready, adjust queues if (status == THREADSTATUS_READY) ready_queue.move(this, current_priority, priority); + else + ready_queue.prepare(priority); nominal_priority = current_priority = priority; } |