summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-17 17:59:18 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-17 17:59:18 +0200
commit265c770a9d663b96a9a422201bac3dd454fa95c0 (patch)
treee7a1682450b857d80cc2ed0f863f4a82b81142bd /src/core/core.cpp
parentMerge pull request #17 from bunnei/arm-vfp (diff)
downloadyuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.tar
yuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.tar.gz
yuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.tar.bz2
yuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.tar.lz
yuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.tar.xz
yuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.tar.zst
yuzu-265c770a9d663b96a9a422201bac3dd454fa95c0.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 859a62c78..61c237b2c 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -4,8 +4,9 @@
#include "common/common_types.h"
#include "common/log.h"
-#include "core/core.h"
+#include "common/symbols.h"
+#include "core/core.h"
#include "core/mem_map.h"
#include "core/hw/hw.h"
#include "core/arm/disassembler/arm_disasm.h"
@@ -19,13 +20,15 @@ ARM_Interface* g_sys_core = NULL; ///< ARM11 system (OS) core
/// Run the core CPU loop
void RunLoop() {
- // TODO(ShizZy): ImplementMe
+ for (;;){
+ g_app_core->Run(10000);
+ HW::Update();
+ }
}
/// Step the CPU one instruction
void SingleStep() {
g_app_core->Step();
- HW::Update();
}
/// Halt the core