added initial support for hw.cpp module

This commit is contained in:
bunnei 2014-04-05 00:01:07 -04:00
parent 670ac5643a
commit 31abc42d3d
8 changed files with 69 additions and 52 deletions

View file

@ -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();
}