diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-25 08:29:14 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-12-29 06:33:34 +0100 |
commit | d0649d0971fa0e4486b7febe9f24b892c7864548 (patch) | |
tree | b7b856af59e770cd42ddb3ede0b8b6c592c5bf61 /src/core/hle/kernel | |
parent | gpu: gpu_thread: Ensure MicroProfile is shutdown on exit. (diff) | |
download | yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.tar yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.tar.gz yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.tar.bz2 yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.tar.lz yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.tar.xz yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.tar.zst yuzu-d0649d0971fa0e4486b7febe9f24b892c7864548.zip |
Diffstat (limited to '')
-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 b3661e4c1..312c64c17 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -57,6 +57,8 @@ struct KernelCore::Impl { } void Initialize(KernelCore& kernel) { + process_list.clear(); + RegisterHostThread(); global_scheduler_context = std::make_unique<Kernel::GlobalSchedulerContext>(kernel); @@ -76,8 +78,6 @@ struct KernelCore::Impl { } void Shutdown() { - process_list.clear(); - next_object_id = 0; next_kernel_process_id = Process::InitialKIPIDMin; next_user_process_id = Process::ProcessIDMin; |