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
1 changed files with 1 additions and 1 deletions

View File

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