mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-03-13 17:01:06 +00:00
kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
Handle g_main_thread = 0;
|
||||
ObjectPool g_object_pool;
|
||||
|
||||
ObjectPool::ObjectPool() {
|
||||
@@ -150,7 +151,7 @@ bool LoadExec(u32 entry_point) {
|
||||
Core::g_app_core->SetPC(entry_point);
|
||||
|
||||
// 0x30 is the typical main thread priority I've seen used so far
|
||||
Handle thread = Kernel::SetupMainThread(0x30);
|
||||
g_main_thread = Kernel::SetupMainThread(THREADPRIO_DEFAULT);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user