aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/system.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-10 22:43:50 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-13 09:51:19 -0400
commitf49ac3a2d71f06d603b8401817a6dfd9dbc3c4bc (patch)
treef416ede76f0efb6f5e9c6365789dbfa2b48b0bd1 /src/core/system.cpp
parent83a4ad28854f6c90f688e3d4523708c2d06267de (diff)
Kernel: Added freeing of kernel objects on emulator shutdown.
Diffstat (limited to 'src/core/system.cpp')
-rw-r--r--src/core/system.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/system.cpp b/src/core/system.cpp
index c7709232..9b1e9688 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -8,6 +8,7 @@
#include "core/system.h"
#include "core/hw/hw.h"
#include "core/hle/hle.h"
+#include "core/hle/kernel/kernel.h"
#include "video_core/video_core.h"
@@ -26,6 +27,7 @@ void Init(EmuWindow* emu_window) {
HLE::Init();
CoreTiming::Init();
VideoCore::Init(emu_window);
+ Kernel::Init();
}
void RunLoopFor(int cycles) {
@@ -42,6 +44,7 @@ void Shutdown() {
HLE::Shutdown();
CoreTiming::Shutdown();
VideoCore::Shutdown();
+ Kernel::Shutdown();
g_ctr_file_system.Shutdown();
}