mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 21:38:32 -05:00
Core: Fix tests.
This commit is contained in:
@ -62,8 +62,7 @@ void SetCurrentThreadPriority(ThreadPriority new_priority) {
|
||||
void SetCurrentThreadPriority(ThreadPriority new_priority) {
|
||||
pthread_t this_thread = pthread_self();
|
||||
|
||||
const auto scheduling_type =
|
||||
new_priority != ThreadPriority::Critical ? SCHED_OTHER : SCHED_FIFO;
|
||||
const auto scheduling_type = SCHED_OTHER;
|
||||
s32 max_prio = sched_get_priority_max(scheduling_type);
|
||||
s32 min_prio = sched_get_priority_min(scheduling_type);
|
||||
u32 level = std::max(static_cast<u32>(new_priority) + 1, 4U);
|
||||
|
Reference in New Issue
Block a user