diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-11 21:09:10 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-05-12 03:39:39 +0200 |
commit | 4f7a055081dff4299ee049a03c7a6f1659406942 (patch) | |
tree | a9ba4323003af89d5fcb8b993a27bcad98401e06 /src/core/core.cpp | |
parent | Merge pull request #749 from yuriks/stack-top (diff) | |
download | yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.gz yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.bz2 yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.lz yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.xz yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.zst yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index b5c258230..53aae8c2f 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -24,9 +24,9 @@ ARM_Interface* g_sys_core = nullptr; ///< ARM11 system (OS) core /// Run the core CPU loop void RunLoop(int tight_loop) { - // If the current thread is an idle thread, then don't execute instructions, + // If we don't have a currently active thread then don't execute instructions, // instead advance to the next event and try to yield to the next thread - if (Kernel::GetCurrentThread()->IsIdle()) { + if (Kernel::GetCurrentThread() == nullptr) { LOG_TRACE(Core_ARM11, "Idling"); CoreTiming::Idle(); CoreTiming::Advance(); |