aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/hle.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-01 21:42:50 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-01 21:42:50 -0400
commit10447d1f4831b495d7bef7711681ddd548f847a6 (patch)
tree7315bc1d8addcab21bd3e532f806811682c4eb01 /src/core/hle/hle.cpp
parente8a17ee6fdf7ab653be32f52afb10f0dafdf61c1 (diff)
kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
Diffstat (limited to 'src/core/hle/hle.cpp')
-rw-r--r--src/core/hle/hle.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/hle.cpp b/src/core/hle/hle.cpp
index f703da44..08b0685c 100644
--- a/src/core/hle/hle.cpp
+++ b/src/core/hle/hle.cpp
@@ -7,6 +7,7 @@
#include "core/mem_map.h"
#include "core/hle/hle.h"
#include "core/hle/svc.h"
+#include "core/hle/kernel/thread.h"
#include "core/hle/service/service.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -41,11 +42,11 @@ void EatCycles(u32 cycles) {
// TODO: ImplementMe
}
-void ReSchedule(const char *reason) {
+void Reschedule(const char *reason) {
#ifdef _DEBUG
_dbg_assert_msg_(HLE, reason != 0 && strlen(reason) < 256, "Reschedule: Invalid or too long reason.");
#endif
- // TODO: ImplementMe
+ Core::g_app_core->PrepareReschedule();
}
void RegisterModule(std::string name, int num_functions, const FunctionDef* func_table) {