summaryrefslogtreecommitdiffstats
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-08-13 03:41:28 +0200
committerSubv <subv2112@gmail.com>2018-08-13 03:41:28 +0200
commitd9237660429adaa9f549d10e79252a713f1da874 (patch)
tree6573f68774fbb2e2e7019c1e6c2c5454bf60e899 /src/core/core_cpu.cpp
parentKernel/SVC: Don't reschedule the current core when creating a new thread. (diff)
downloadyuzu-d9237660429adaa9f549d10e79252a713f1da874.tar
yuzu-d9237660429adaa9f549d10e79252a713f1da874.tar.gz
yuzu-d9237660429adaa9f549d10e79252a713f1da874.tar.bz2
yuzu-d9237660429adaa9f549d10e79252a713f1da874.tar.lz
yuzu-d9237660429adaa9f549d10e79252a713f1da874.tar.xz
yuzu-d9237660429adaa9f549d10e79252a713f1da874.tar.zst
yuzu-d9237660429adaa9f549d10e79252a713f1da874.zip
Diffstat (limited to 'src/core/core_cpu.cpp')
-rw-r--r--src/core/core_cpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp
index 46a522fcd..3f1c70624 100644
--- a/src/core/core_cpu.cpp
+++ b/src/core/core_cpu.cpp
@@ -90,6 +90,7 @@ void Cpu::RunLoop(bool tight_loop) {
LOG_TRACE(Core, "Core-{} idling", core_index);
if (IsMainCore()) {
+ // TODO(Subv): Only let CoreTiming idle if all 4 cores are idling.
CoreTiming::Idle();
CoreTiming::Advance();
}