mirror of
https://github.com/zeldaret/tp
synced 2026-09-10 04:02:20 -04:00
Continue robbing prime github dolphin libs blind (#254)
* Continue work on dolphin libs * tp.py pull-request should print rels by default
This commit is contained in:
@@ -273,7 +273,7 @@ s32 __OSGetEffectivePriority(OSThread* thread) {
|
||||
s32 prio = thread->base_priority;
|
||||
|
||||
OSMutex* mutex;
|
||||
for (mutex = thread->owned_mutexes.head; mutex != NULL; mutex = mutex->link.prev) {
|
||||
for (mutex = thread->owned_mutexes.head; mutex != NULL; mutex = mutex->link.next) {
|
||||
OSThread* mutexThread = mutex->queue.head;
|
||||
if (mutexThread != NULL && mutexThread->effective_priority < prio) {
|
||||
prio = mutexThread->effective_priority;
|
||||
|
||||
Reference in New Issue
Block a user