aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/src/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/src/system.cpp')
-rw-r--r--src/core/src/system.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/src/system.cpp b/src/core/src/system.cpp
index 6a2c13c9..1477bab3 100644
--- a/src/core/src/system.cpp
+++ b/src/core/src/system.cpp
@@ -23,6 +23,7 @@
*/
#include "core.h"
+#include "hw/hw.h"
#include "core_timing.h"
#include "mem_map.h"
#include "system.h"
@@ -38,6 +39,7 @@ void UpdateState(State state) {
void Init(EmuWindow* emu_window) {
Core::Init();
Memory::Init();
+ HW::Init();
CoreTiming::Init();
}
@@ -49,6 +51,8 @@ void RunLoopUntil(u64 global_cycles) {
}
void Shutdown() {
+ Core::Shutdown();
+ HW::Shutdown();
g_ctr_file_system.Shutdown();
}