yuzu-mainline/src/core/hle
Lioncash 39483b92b7 kernel/thread: Amend condition within UpdatePriority()
This condition was checking against the nominal thread priority, whereas
the kernel itself checks against the current priority instead. We were
also assigning the nominal priority, when we should be assigning
current_priority, which takes priority inheritance into account.

This can lead to the incorrect priority being assigned to a thread.

Given we recursively update the relevant threads, we don't need to go
through the whole mutex waiter list. This matches what the kernel does
as well (only accessing the first entry within the waiting list).
2019-03-15 23:01:43 -04:00
..
kernel kernel/thread: Amend condition within UpdatePriority() 2019-03-15 23:01:43 -04:00
service service/service: Remove unncessary calls to c_str() 2019-03-10 18:00:57 -04:00
ipc_helpers.h kernel/hle_ipc: Convert std::shared_ptr IPC header instances to std::optional 2019-03-07 23:34:37 -05:00
ipc.h core/hle/ipc: Remove unnecessary includes 2019-03-05 09:53:38 -05:00
lock.cpp
lock.h
result.h core/hle/ipc: Remove unnecessary includes 2019-03-05 09:53:38 -05:00