2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

hle: kernel: Initialize preemption task after schedulers.

- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
This commit is contained in:
bunnei 2021-03-27 10:04:13 -07:00
parent 65774084fd
commit cb7f2e5616

View file

@ -68,9 +68,9 @@ struct KernelCore::Impl {
InitializePhysicalCores();
InitializeSystemResourceLimit(kernel, system);
InitializeMemoryLayout();
InitializePreemption(kernel);
InitializeSchedulers();
InitializeSuspendThreads();
InitializePreemption(kernel);
}
void InitializeCores() {