mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 15:07:57 -05:00
kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user