summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-23 04:54:07 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-23 04:54:07 +0200
commit51f636b3d44e0c963d73cbc4e1a555633980b3fb (patch)
treec083d2ab3d0c09655b295a1f429e310407a688b4
parentsvc: added a check to ensure that a service was implemented before attempting to connect to its port (diff)
downloadyuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.tar
yuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.tar.gz
yuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.tar.bz2
yuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.tar.lz
yuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.tar.xz
yuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.tar.zst
yuzu-51f636b3d44e0c963d73cbc4e1a555633980b3fb.zip
-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 @@
#include "core/arm/disassembler/arm_disasm.h"
#include "core/arm/interpreter/arm_interpreter.h"
+#include "core/hle/kernel/thread.h"
+
namespace Core {
ARM_Disasm* g_disasm = NULL; ///< ARM disassembler
@@ -21,14 +23,17 @@ ARM_Interface* g_sys_core = NULL; ///< ARM11 system (OS) core
/// Run the core CPU loop
void RunLoop() {
for (;;){
- g_app_core->Run(10000);
+ g_app_core->Run(100);
HW::Update();
+ Kernel::Reschedule();
}
}
/// Step the CPU one instruction
void SingleStep() {
g_app_core->Step();
+ HW::Update();
+ Kernel::Reschedule();
}
/// Halt the core