mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-09-25 10:48:34 +00:00
Update idle_thread.cpp
This commit is contained in:
parent
eb5cc841df
commit
d5d8f869e4
1 changed files with 4 additions and 4 deletions
|
@ -59,9 +59,9 @@ void Kernel::setupIdleThread() {
|
||||||
t.fpscr = FPSCR::ThreadDefault;
|
t.fpscr = FPSCR::ThreadDefault;
|
||||||
|
|
||||||
// Our idle thread should have as low of a priority as possible, because, well, it's an idle thread.
|
// Our idle thread should have as low of a priority as possible, because, well, it's an idle thread.
|
||||||
// We handle this by giving it a priority of 0xff, which is lower than is actually allowed for user threads
|
// We handle this by giving it a priority of 0x40, which is lower than is actually allowed for user threads
|
||||||
// (High priority value = low priority)
|
// (High priority value = low priority). This is the same priority used in the retail kernel.
|
||||||
t.priority = 0xff;
|
t.priority = 0x40;
|
||||||
t.status = ThreadStatus::Ready;
|
t.status = ThreadStatus::Ready;
|
||||||
|
|
||||||
// Add idle thread to the list of thread indices
|
// Add idle thread to the list of thread indices
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue