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:
hatal175
2023-01-24 22:22:40 +02:00
committed by GitHub
parent 49a8b2be0d
commit d17c122e4d
43 changed files with 332 additions and 1742 deletions
+1 -1
View File
@@ -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;