diff options
| author | 2021-04-02 18:02:10 -0700 | |
|---|---|---|
| committer | 2021-05-05 16:40:50 -0700 | |
| commit | 34bed1ab41a296f8ccccc47d7c06ab03de2018b5 (patch) | |
| tree | 68ef2cba05f74fba14ec8c0e80b492a5fa587da5 /src/core/hle/kernel/kernel.cpp | |
| parent | core: Defer CoreTiming initialization. (diff) | |
| download | yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.gz yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.tar.xz yuzu-34bed1ab41a296f8ccccc47d7c06ab03de2018b5.zip | |
hle: kernel: Refactor out various KThread std::shared_ptr usage.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 5c4f45ab4..17fe1d59f 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -60,8 +60,6 @@ struct KernelCore::Impl { | |||
| 60 | void Initialize(KernelCore& kernel) { | 60 | void Initialize(KernelCore& kernel) { |
| 61 | global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel); | 61 | global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel); |
| 62 | 62 | ||
| 63 | RegisterHostThread(); | ||
| 64 | |||
| 65 | service_thread_manager = | 63 | service_thread_manager = |
| 66 | std::make_unique<Common::ThreadWorker>(1, "yuzu:ServiceThreadManager"); | 64 | std::make_unique<Common::ThreadWorker>(1, "yuzu:ServiceThreadManager"); |
| 67 | is_phantom_mode_for_singlecore = false; | 65 | is_phantom_mode_for_singlecore = false; |
| @@ -77,6 +75,8 @@ struct KernelCore::Impl { | |||
| 77 | InitializeSchedulers(); | 75 | InitializeSchedulers(); |
| 78 | InitializeSuspendThreads(); | 76 | InitializeSuspendThreads(); |
| 79 | InitializePreemption(kernel); | 77 | InitializePreemption(kernel); |
| 78 | |||
| 79 | RegisterHostThread(); | ||
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | void InitializeCores() { | 82 | void InitializeCores() { |