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() {