summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-11 04:43:50 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-13 15:51:19 +0200
commitf49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc (patch)
treef416ede76f0efb6f5e9c6365789dbfa2b48b0bd1 /src/core/hle/kernel/kernel.cpp
parentEvent: Updated several log messages to be assertions. (diff)
downloadyuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.tar
yuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.tar.gz
yuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.tar.bz2
yuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.tar.lz
yuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.tar.xz
yuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.tar.zst
yuzu-f49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index e51a9d45a..739ddd4ef 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -132,12 +132,16 @@ Object* ObjectPool::CreateByIDType(int type) {
}
}
+/// Initialize the kernel
void Init() {
Kernel::ThreadingInit();
}
+/// Shutdown the kernel
void Shutdown() {
Kernel::ThreadingShutdown();
+
+ g_object_pool.Clear(); // Free all kernel objects
}
/**