From 3449aaa35066b9a4bd784fe86a303666713076bf Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 5 Jun 2014 23:32:02 -0400 Subject: Core: Changed HW update/thread reschedule to occur more frequently (assume each instruction is ~3 cycles) --- src/core/core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/core.cpp') 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 /// 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; -- cgit v1.2.3