summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 61c237b2c..f88bcd704 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -12,6 +12,8 @@
12#include "core/arm/disassembler/arm_disasm.h" 12#include "core/arm/disassembler/arm_disasm.h"
13#include "core/arm/interpreter/arm_interpreter.h" 13#include "core/arm/interpreter/arm_interpreter.h"
14 14
15#include "core/hle/kernel/thread.h"
16
15namespace Core { 17namespace Core {
16 18
17ARM_Disasm* g_disasm = NULL; ///< ARM disassembler 19ARM_Disasm* g_disasm = NULL; ///< ARM disassembler
@@ -21,14 +23,17 @@ ARM_Interface* g_sys_core = NULL; ///< ARM11 system (OS) core
21/// Run the core CPU loop 23/// Run the core CPU loop
22void RunLoop() { 24void RunLoop() {
23 for (;;){ 25 for (;;){
24 g_app_core->Run(10000); 26 g_app_core->Run(100);
25 HW::Update(); 27 HW::Update();
28 Kernel::Reschedule();
26 } 29 }
27} 30}
28 31
29/// Step the CPU one instruction 32/// Step the CPU one instruction
30void SingleStep() { 33void SingleStep() {
31 g_app_core->Step(); 34 g_app_core->Step();
35 HW::Update();
36 Kernel::Reschedule();
32} 37}
33 38
34/// Halt the core 39/// Halt the core