aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-05 23:32:02 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-13 09:51:09 -0400
commit3449aaa35066b9a4bd784fe86a303666713076bf (patch)
tree139e5a013647dcc961bf25b9ebeda59d698e1828 /src/core/core.cpp
parentb774b8b04e50ad709381506a80e881a1a1471b0f (diff)
Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles)
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 0500394b..6ec25fdd 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -25,7 +25,7 @@ ARM_Interface* g_sys_core = NULL; ///< ARM11 system (OS) core
/// Run the core CPU loop
void RunLoop() {
for (;;){
- g_app_core->Run(LCD::kFrameTicks / 2);
+ g_app_core->Run(LCD::kFrameTicks / 3);
HW::Update();
Kernel::Reschedule();
}
@@ -37,7 +37,7 @@ void SingleStep() {
g_app_core->Step();
- if ((ticks >= LCD::kFrameTicks / 2) || HLE::g_reschedule) {
+ if ((ticks >= LCD::kFrameTicks / 3) || HLE::g_reschedule) {
HW::Update();
Kernel::Reschedule();
ticks = 0;