moved some core functions over to system module

This commit is contained in:
ShizZy 2013-10-03 17:47:31 -04:00
parent 9d79fc7aa6
commit e0cb54ea35
5 changed files with 13 additions and 15 deletions

View file

@ -22,7 +22,9 @@
* http://code.google.com/p/gekko-gc-emu/
*/
#include "core.h"
#include "core_timing.h"
#include "mem_map.h"
#include "system.h"
namespace System {
@ -33,7 +35,10 @@ extern MetaFileSystem g_ctr_file_system;
void UpdateState(State state) {
}
void Init() {
void Init(EmuWindow* emu_window) {
Core::Init();
Memory::Init();
CoreTiming::Init();
}
void RunLoopFor(int cycles) {