summaryrefslogtreecommitdiff
path: root/src/core/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/system.cpp')
-rw-r--r--src/core/system.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/system.cpp b/src/core/system.cpp
index 3cd84bf5e..421fc48a7 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -12,6 +12,8 @@
12 12
13#include "video_core/video_core.h" 13#include "video_core/video_core.h"
14 14
15#include "core/gdbstub/gdbstub.h"
16
15namespace System { 17namespace System {
16 18
17void Init(EmuWindow* emu_window) { 19void Init(EmuWindow* emu_window) {
@@ -22,9 +24,13 @@ void Init(EmuWindow* emu_window) {
22 Kernel::Init(); 24 Kernel::Init();
23 HLE::Init(); 25 HLE::Init();
24 VideoCore::Init(emu_window); 26 VideoCore::Init(emu_window);
27
28 GDBStub::Init();
25} 29}
26 30
27void Shutdown() { 31void Shutdown() {
32 GDBStub::Deinit();
33
28 VideoCore::Shutdown(); 34 VideoCore::Shutdown();
29 HLE::Shutdown(); 35 HLE::Shutdown();
30 Kernel::Shutdown(); 36 Kernel::Shutdown();