summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-15 02:57:40 +0100
committerbunnei <bunneidev@gmail.com>2020-12-29 01:33:48 +0100
commit6d2f9428c5387abaae03478c9204d164a718ffe5 (patch)
tree3dffeb0599cad78141c2bd62c85c899bd0adbf12 /src
parentvideo_core: gpu_thread: Do not wait when system is powered down. (diff)
downloadyuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.tar
yuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.tar.gz
yuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.tar.bz2
yuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.tar.lz
yuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.tar.xz
yuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.tar.zst
yuzu-6d2f9428c5387abaae03478c9204d164a718ffe5.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/kernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 1bf4c3355..b3661e4c1 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -76,6 +76,8 @@ struct KernelCore::Impl {
}
void Shutdown() {
+ process_list.clear();
+
next_object_id = 0;
next_kernel_process_id = Process::InitialKIPIDMin;
next_user_process_id = Process::ProcessIDMin;
@@ -89,8 +91,6 @@ struct KernelCore::Impl {
cores.clear();
- process_list.clear();
-
current_process = nullptr;
system_resource_limit = nullptr;