diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-05 06:26:48 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-05 06:26:48 +0200 |
commit | 174cc9a0ed023ca89420fbc999ed82337cc94b8b (patch) | |
tree | 77880fcb4200aea1921919dc850f1f90897a9657 /src/core/core.cpp | |
parent | arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected (diff) | |
download | yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.tar yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.tar.gz yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.tar.bz2 yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.tar.lz yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.tar.xz yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.tar.zst yuzu-174cc9a0ed023ca89420fbc999ed82337cc94b8b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 070f92ed5..0500394b3 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -13,6 +13,7 @@ #include "core/arm/disassembler/arm_disasm.h" #include "core/arm/interpreter/arm_interpreter.h" +#include "core/hle/hle.h" #include "core/hle/kernel/thread.h" namespace Core { @@ -36,7 +37,7 @@ void SingleStep() { g_app_core->Step(); - if (ticks >= LCD::kFrameTicks / 2) { + if ((ticks >= LCD::kFrameTicks / 2) || HLE::g_reschedule) { HW::Update(); Kernel::Reschedule(); ticks = 0; |