mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 13:55:41 +01:00
hle: kernel: k_thread: Skip reschedule on DisableDispatch with SC.
This commit is contained in:
parent
42697527ba
commit
a2384a18fa
@ -1096,6 +1096,11 @@ KScopedDisableDispatch::~KScopedDisableDispatch() {
|
||||
return;
|
||||
}
|
||||
|
||||
// Skip the reschedule if single-core, as dispatch tracking is disabled here.
|
||||
if (!Settings::values.use_multi_core.GetValue()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (GetCurrentThread(kernel).GetDisableDispatchCount() <= 1) {
|
||||
auto scheduler = kernel.CurrentScheduler();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user