summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-05 23:32:02 -0400
committerGravatar bunnei2014-06-13 09:51:09 -0400
commit3449aaa35066b9a4bd784fe86a303666713076bf (patch)
tree139e5a013647dcc961bf25b9ebeda59d698e1828 /src/core/core.cpp
parentThread: Fixed bug with ResetThread where cpu_registers[15] was being incorrec... (diff)
downloadyuzu-3449aaa35066b9a4bd784fe86a303666713076bf.tar.gz
yuzu-3449aaa35066b9a4bd784fe86a303666713076bf.tar.xz
yuzu-3449aaa35066b9a4bd784fe86a303666713076bf.zip
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 0500394b3..6ec25fdd4 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
25/// Run the core CPU loop 25/// Run the core CPU loop
26void RunLoop() { 26void RunLoop() {
27 for (;;){ 27 for (;;){
28 g_app_core->Run(LCD::kFrameTicks / 2); 28 g_app_core->Run(LCD::kFrameTicks / 3);
29 HW::Update(); 29 HW::Update();
30 Kernel::Reschedule(); 30 Kernel::Reschedule();
31 } 31 }
@@ -37,7 +37,7 @@ void SingleStep() {
37 37
38 g_app_core->Step(); 38 g_app_core->Step();
39 39
40 if ((ticks >= LCD::kFrameTicks / 2) || HLE::g_reschedule) { 40 if ((ticks >= LCD::kFrameTicks / 3) || HLE::g_reschedule) {
41 HW::Update(); 41 HW::Update();
42 Kernel::Reschedule(); 42 Kernel::Reschedule();
43 ticks = 0; 43 ticks = 0;