Created
January 6, 2015 18:57
-
-
Save Subv/beac7a45a9b2df50d7aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp | |
index 872df2d..dd31fb5 100644 | |
--- a/src/core/hle/kernel/thread.cpp | |
+++ b/src/core/hle/kernel/thread.cpp | |
@@ -11,6 +11,7 @@ | |
#include "common/thread_queue_list.h" | |
#include "core/core.h" | |
+#include "core/core_timing.h" | |
#include "core/hle/hle.h" | |
#include "core/hle/kernel/kernel.h" | |
#include "core/hle/kernel/thread.h" | |
@@ -486,6 +487,12 @@ void Reschedule() { | |
LOG_TRACE(Kernel, "\thandle=0x%08X prio=0x%02X, status=0x%08X wait_type=0x%08X wait_handle=0x%08X", | |
thread->GetHandle(), thread->current_priority, thread->status, thread->wait_type, thread->wait_handle); | |
} | |
+ | |
+ CoreTiming::Idle(); | |
+ CoreTiming::Advance(); | |
+ | |
+ Reschedule(); | |
+ return; | |
} | |
// TODO(bunnei): Hack - There is no timing mechanism yet to wake up a thread if it has been put |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment