summaryrefslogtreecommitdiff
path: root/src/core/system.cpp
diff options
context:
space:
mode:
authorGravatar polaris-2015-09-02 08:56:38 -0400
committerGravatar polaris-2015-10-04 11:16:59 -0400
commit31dee93e849d79a91f280faf16941806e3cb3c6b (patch)
tree22f64217b38dfa38b25a772f9fc5a9b025e1cbd6 /src/core/system.cpp
parentOS X build uploading: auto-confirm SSH host key (diff)
downloadyuzu-31dee93e849d79a91f280faf16941806e3cb3c6b.tar.gz
yuzu-31dee93e849d79a91f280faf16941806e3cb3c6b.tar.xz
yuzu-31dee93e849d79a91f280faf16941806e3cb3c6b.zip
Implement gdbstub
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();