mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 11:03:56 +00:00
Kernel: Corrections to TimeManager, Scheduler and Mutex.
This commit is contained in:
@@ -93,7 +93,7 @@ u32 GlobalScheduler::SelectThreads() {
|
||||
iter++;
|
||||
s32 suggested_core_id = suggested->GetProcessorID();
|
||||
Thread* top_thread =
|
||||
suggested_core_id > 0 ? top_threads[suggested_core_id] : nullptr;
|
||||
suggested_core_id >= 0 ? top_threads[suggested_core_id] : nullptr;
|
||||
if (top_thread != suggested) {
|
||||
if (top_thread != nullptr &&
|
||||
top_thread->GetPriority() < THREADPRIO_MAX_CORE_MIGRATION) {
|
||||
|
||||
Reference in New Issue
Block a user