summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle.cpp
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-06-02 03:42:50 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-02 03:42:50 +0200
commit10447d1f4831b495d7bef7711681ddd548f847a6 (patch)
tree7315bc1d8addcab21bd3e532f806811682c4eb01 /src/core/hle/hle.cpp
parentarm: added option to prepare CPU core (while mid-instruction) for thread reschedule (diff)
downloadyuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.gz
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.bz2
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.lz
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.xz
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.zst
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.zip
Diffstat (limited to '')
-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 f703da44e..08b0685c9 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) {