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.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/system.cpp b/src/core/system.cpp
index 7e9c56538..b62ebf69e 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -2,9 +2,12 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "audio_core/audio_core.h"
6
5#include "core/core.h" 7#include "core/core.h"
6#include "core/core_timing.h" 8#include "core/core_timing.h"
7#include "core/system.h" 9#include "core/system.h"
10#include "core/gdbstub/gdbstub.h"
8#include "core/hw/hw.h" 11#include "core/hw/hw.h"
9#include "core/hle/hle.h" 12#include "core/hle/hle.h"
10#include "core/hle/kernel/kernel.h" 13#include "core/hle/kernel/kernel.h"
@@ -12,8 +15,6 @@
12 15
13#include "video_core/video_core.h" 16#include "video_core/video_core.h"
14 17
15#include "core/gdbstub/gdbstub.h"
16
17namespace System { 18namespace System {
18 19
19void Init(EmuWindow* emu_window) { 20void Init(EmuWindow* emu_window) {
@@ -24,11 +25,13 @@ void Init(EmuWindow* emu_window) {
24 Kernel::Init(); 25 Kernel::Init();
25 HLE::Init(); 26 HLE::Init();
26 VideoCore::Init(emu_window); 27 VideoCore::Init(emu_window);
28 AudioCore::Init();
27 GDBStub::Init(); 29 GDBStub::Init();
28} 30}
29 31
30void Shutdown() { 32void Shutdown() {
31 GDBStub::Shutdown(); 33 GDBStub::Shutdown();
34 AudioCore::Shutdown();
32 VideoCore::Shutdown(); 35 VideoCore::Shutdown();
33 HLE::Shutdown(); 36 HLE::Shutdown();
34 Kernel::Shutdown(); 37 Kernel::Shutdown();