kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule

This commit is contained in:
bunnei 2014-06-01 21:42:50 -04:00
parent e8a17ee6fd
commit 10447d1f48
6 changed files with 17 additions and 9 deletions

View file

@ -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) {