diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-21 13:13:52 +0000 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-21 13:13:52 +0000 |
| commit | d2710b784a1dd361ec8492f1929045b5a6df9798 (patch) | |
| tree | 443d275fd39c58928e68ef22ce3fe0fa56c73642 /src/core/system.cpp | |
| parent | b7db0ece1d23291f4f3cc73ff367ffa2b44e5671 (diff) | |
AudioCore: Skeleton Implementation
This commit:
* Adds a new subproject, audio_core.
* Defines structures that exist in DSP shared memory.
* Hooks up various other parts of the emulator into audio core.
This sets the foundation for a later HLE DSP implementation.
Diffstat (limited to 'src/core/system.cpp')
| -rw-r--r-- | src/core/system.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/system.cpp b/src/core/system.cpp index 7e9c56538b..b62ebf69e3 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -2,9 +2,12 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include "audio_core/audio_core.h" + #include "core/core.h" #include "core/core_timing.h" #include "core/system.h" +#include "core/gdbstub/gdbstub.h" #include "core/hw/hw.h" #include "core/hle/hle.h" #include "core/hle/kernel/kernel.h" @@ -12,8 +15,6 @@ #include "video_core/video_core.h" -#include "core/gdbstub/gdbstub.h" - namespace System { void Init(EmuWindow* emu_window) { @@ -24,11 +25,13 @@ void Init(EmuWindow* emu_window) { Kernel::Init(); HLE::Init(); VideoCore::Init(emu_window); + AudioCore::Init(); GDBStub::Init(); } void Shutdown() { GDBStub::Shutdown(); + AudioCore::Shutdown(); VideoCore::Shutdown(); HLE::Shutdown(); Kernel::Shutdown(); |
